1
0
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:
Ted Kremenek 2010-07-15 06:36:57 +00:00
parent 2b2265a9c5
commit 09a5f4aaff

View File

@ -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