mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 22:30:13 +00:00
[compiler-rt][scudo][LIT] Use target_suffix instead of target-arch
Per target runtime dir may change the suffix of shared libs. We can not assume we are always building with per_target_runtime_dir on. Reviewed By: cryptoad Differential Revision: https://reviews.llvm.org/D80243
This commit is contained in:
parent
62f3ef2b53
commit
8d0fdd44ee
@ -10,7 +10,7 @@ config.test_source_root = os.path.dirname(__file__)
|
||||
|
||||
# Path to the shared library
|
||||
shared_libscudo = os.path.join(config.compiler_rt_libdir, "libclang_rt.scudo%s.so" % config.target_suffix)
|
||||
shared_minlibscudo = os.path.join(config.compiler_rt_libdir, "libclang_rt.scudo_minimal-%s.so" % config.target_arch)
|
||||
shared_minlibscudo = os.path.join(config.compiler_rt_libdir, "libclang_rt.scudo_minimal%s.so" % config.target_suffix)
|
||||
|
||||
# Test suffixes.
|
||||
config.suffixes = ['.c', '.cpp', '.test']
|
||||
|
Loading…
Reference in New Issue
Block a user