mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
[llvm] [gcc]: Correct variable name (#7080)
* [gcc]: should be `ARCH_LIB` * [llvm]: should be `ARCH_LIB`, not `LIB_SUFFIX`
This commit is contained in:
@@ -32,7 +32,7 @@ class Gcc < Package
|
||||
depends_on 'libssp' # L
|
||||
depends_on 'zstd' # R
|
||||
|
||||
provides 'libs', 'GCC runtime libraries', "#{LIB_SUFFIX}/*.so*"
|
||||
provides 'libs', 'GCC runtime libraries', "#{ARCH_LIB}/*.so*"
|
||||
|
||||
no_env_options
|
||||
no_patchelf
|
||||
|
||||
@@ -32,7 +32,7 @@ class Llvm < Package
|
||||
no_patchelf
|
||||
|
||||
provides 'libs', 'LLVM runtime libraries',
|
||||
lambda {|f| File.fnmatch("#{LIB_SUFFIX}/*.so*", f) and f !~ /(clang|lldb)/ }
|
||||
lambda {|f| File.fnmatch("#{ARCH_LIB}/*.so*", f) and f !~ /(clang|lldb)/ }
|
||||
|
||||
case ARCH
|
||||
when 'aarch64', 'armv7l'
|
||||
|
||||
Reference in New Issue
Block a user