[llvm] [gcc]: Correct variable name (#7080)

* [gcc]: should be `ARCH_LIB`

* [llvm]: should be `ARCH_LIB`, not `LIB_SUFFIX`
This commit is contained in:
supechicken
2022-05-24 00:06:07 +08:00
committed by GitHub
parent d3038e0805
commit b5b4c7c6b0
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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'