[CMake] Fix linker-as-ld to symlink instead of copy lld
authorChris Bieneman <beanz@apple.com>
Mon, 12 Sep 2016 22:38:43 +0000 (22:38 +0000)
committerChris Bieneman <beanz@apple.com>
Mon, 12 Sep 2016 22:38:43 +0000 (22:38 +0000)
commit5a805df1a57565d724569eaa2814ba53842316fe
tree738dedc8ace7b3a649c9928773cfb41ccb2682e6
parentff00fae8e615220f2df298f3a190c0611b2ad8d3
[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
lld/test/mach-o/linker-as-ld.yaml