summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2013-11-11 20:08:24 +0000
committerBob Wilson <bob.wilson@apple.com>2013-11-11 20:08:24 +0000
commit2531651206a2d12d37ad93a6f9bc9f8762105b4e (patch)
treeab08efb60d22305ab27225c86db18908d5444b8f /tools
parentd736763847cee94c40a7f4d106cad91445834b7c (diff)
downloadexternal_llvm-2531651206a2d12d37ad93a6f9bc9f8762105b4e.zip
external_llvm-2531651206a2d12d37ad93a6f9bc9f8762105b4e.tar.gz
external_llvm-2531651206a2d12d37ad93a6f9bc9f8762105b4e.tar.bz2
Change libLTO back to linking with @executable_path instead of @rpath.
This partially reverts r187641 until ld64 adopts a change to link with an rpath setting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/lto/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/Makefile b/tools/lto/Makefile
index 672fef4..cedbee1 100644
--- a/tools/lto/Makefile
+++ b/tools/lto/Makefile
@@ -46,7 +46,7 @@ ifeq ($(HOST_OS),Darwin)
ifneq ($(DARWIN_VERS),8)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-install_name \
- -Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
+ -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
endif
# If we're doing an Apple-style build, add the LTO object path.