From f240040c9b028d4dc469960a785f5f263dfde5ca Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Mon, 11 Nov 2013 20:08:24 +0000 Subject: [PATCH] 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. llvm-svn: 194418 --- tools/lto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lto/Makefile b/tools/lto/Makefile index 672fef4c64f..cedbee188c0 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.