mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-27 03:48:33 +00:00
[CMake] Fix linker-as-ld to symlink instead of copy lld
Summary: This test fails if you're building with BUILD_SHARED_LIBS because the LLVM libraries are found via @rpath. Symlinking instead of copying should be sufficiently robust for the test case. Reviewers: llvm-commits Subscribers: davide Differential Revision: https://reviews.llvm.org/D24476 llvm-svn: 281271
This commit is contained in:
parent
ff00fae8e6
commit
5a805df1a5
@ -1,7 +1,7 @@
|
||||
# REQUIRES: system-linker-mach-o
|
||||
#
|
||||
# RUN: mkdir -p %t.dir && cp `which lld` %t.dir/ld \
|
||||
# RUN: && %t.dir/ld -arch x86_64 -macosx_version_min 10.8 %s \
|
||||
# RUN: rm -rf %T/ld && ln -s `which lld` %T/ld \
|
||||
# RUN: && %T/ld -arch x86_64 -macosx_version_min 10.8 %s \
|
||||
# RUN: %p/Inputs/linker-as-ld.yaml -o %t \
|
||||
# RUN: && llvm-nm %t | FileCheck %s
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user