1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Use @rpath for libraries rather than @executable_path on OSX.

Patch by Benjamin Scarlet!

llvm-svn: 187641
This commit is contained in:
Eric Christopher 2013-08-02 01:51:52 +00:00
parent 973b3bf7ae
commit f68df99874
3 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ ifeq ($(HOST_OS),Darwin)
ifneq ($(DARWIN_VERS),8)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-install_name \
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
-Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
endif
# If we're doing an Apple-style build, add the LTO object path.

View File

@ -58,7 +58,7 @@ ifeq ($(HOST_OS),Darwin)
ifneq ($(DARWIN_VERS),8)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-install_name \
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
-Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
endif
endif

View File

@ -46,7 +46,7 @@ ifeq ($(HOST_OS),Darwin)
ifneq ($(DARWIN_VERS),8)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-install_name \
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
-Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
endif
# If we're doing an Apple-style build, add the LTO object path.