mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Correctly set rpath on Mac OS X for executable tools. Note that I am not certain this is the best fix; the code immediately above looks confused, as it first checks to see if we are NOT on Darwin and then checks the Darwin version number. This fix allows c-index-test (in Clang) to run outside of running the regression test suite. I would appreciate if someone reviewed this.
llvm-svn: 108416
This commit is contained in:
parent
2b2265a9c5
commit
09a5f4aaff
@ -632,7 +632,12 @@ ifdef TOOLNAME
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
else
|
||||
ifneq ($(DARWIN_MAJVERS),4)
|
||||
LD.Flags += $(RPATH) -Wl,@executable_path/../lib
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
#----------------------------------------------------------
|
||||
# Options To Invoke Tools
|
||||
|
Loading…
x
Reference in New Issue
Block a user