mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Use @rpath for libraries rather than @executable_path on OSX.
Patch by Benjamin Scarlet! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187641 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be9f508aec
commit
9f4eaaf0dc
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user