mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Use @rpath for libraries rather than @executable_path on OSX.
Patch by Benjamin Scarlet! llvm-svn: 187641
This commit is contained in:
parent
973b3bf7ae
commit
f68df99874
@ -40,7 +40,7 @@ ifeq ($(HOST_OS),Darwin)
|
|||||||
ifneq ($(DARWIN_VERS),8)
|
ifneq ($(DARWIN_VERS),8)
|
||||||
LLVMLibsOptions := $(LLVMLibsOptions) \
|
LLVMLibsOptions := $(LLVMLibsOptions) \
|
||||||
-Wl,-install_name \
|
-Wl,-install_name \
|
||||||
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
|
-Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If we're doing an Apple-style build, add the LTO object path.
|
# If we're doing an Apple-style build, add the LTO object path.
|
||||||
|
@ -58,7 +58,7 @@ ifeq ($(HOST_OS),Darwin)
|
|||||||
ifneq ($(DARWIN_VERS),8)
|
ifneq ($(DARWIN_VERS),8)
|
||||||
LLVMLibsOptions := $(LLVMLibsOptions) \
|
LLVMLibsOptions := $(LLVMLibsOptions) \
|
||||||
-Wl,-install_name \
|
-Wl,-install_name \
|
||||||
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
|
-Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ ifeq ($(HOST_OS),Darwin)
|
|||||||
ifneq ($(DARWIN_VERS),8)
|
ifneq ($(DARWIN_VERS),8)
|
||||||
LLVMLibsOptions := $(LLVMLibsOptions) \
|
LLVMLibsOptions := $(LLVMLibsOptions) \
|
||||||
-Wl,-install_name \
|
-Wl,-install_name \
|
||||||
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
|
-Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If we're doing an Apple-style build, add the LTO object path.
|
# If we're doing an Apple-style build, add the LTO object path.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user