mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00: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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108416 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d2bfe54b0a
commit
d634bcbc89
@ -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…
Reference in New Issue
Block a user