projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2bfe54
)
Correctly set rpath on Mac OS X for executable tools. Note that I am not certain...
author
Ted Kremenek
<kremenek@apple.com>
Thu, 15 Jul 2010 06:36:57 +0000
(06:36 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Thu, 15 Jul 2010 06:36:57 +0000
(06:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108416
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.rules
patch
|
blob
|
history
diff --git
a/Makefile.rules
b/Makefile.rules
index 9e77efb8cb0866203dd2aa461674ed3f672b0d6a..12582f6f91d2b741361708e93cd14b2048b05592 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-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