mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Use $ORIGIN in the rpath of libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103896 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d908ebd19
commit
a89efd537d
@ -589,10 +589,14 @@ ifeq ($(TARGET_OS),Darwin)
|
||||
endif
|
||||
|
||||
ifdef SHARED_LIBRARY
|
||||
ifneq ($(HOST_OS),Darwin)
|
||||
LD.Flags += $(RPATH) -Wl,'$$ORIGIN'
|
||||
else
|
||||
ifneq ($(DARWIN_MAJVERS),4)
|
||||
LD.Flags += $(RPATH) -Wl,$(LibDir)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef TOOL_VERBOSE
|
||||
C.Flags += -v
|
||||
|
Loading…
Reference in New Issue
Block a user