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:
73e36da
)
build: Shared libraries shouldn't used RPATH on Darwin, only main executables
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 8 Dec 2010 02:29:26 +0000
(
02:29
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 8 Dec 2010 02:29:26 +0000
(
02:29
+0000)
should use that.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121231
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.rules
patch
|
blob
|
history
diff --git
a/Makefile.rules
b/Makefile.rules
index 6d2d694f624e9662222343d1488c60bf9038f1ac..cb439d3676f6e71ff751de7fb3194eb2f36d1078 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-526,10
+526,6
@@
ifdef SHARED_LIBRARY
ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
ifneq ($(HOST_OS),Darwin)
LD.Flags += $(RPATH) -Wl,'$$ORIGIN'
-else
-ifneq ($(DARWIN_MAJVERS),4)
- LD.Flags += $(RPATH) -Wl,$(SharedLibDir)
-endif
endif
endif
endif