summaryrefslogtreecommitdiff
path: root/tools/edis
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2010-03-17 22:01:36 +0000
committerSean Callanan <scallanan@apple.com>2010-03-17 22:01:36 +0000
commite340da73edb65553c7a220ed6c51bdfa7126c919 (patch)
treed38e752970233d773dbdd5af47e99f9af06d8c39 /tools/edis
parente4ad0a3c1816529dce7084b8207eda0a50621ed7 (diff)
downloadllvm-e340da73edb65553c7a220ed6c51bdfa7126c919.tar.gz
llvm-e340da73edb65553c7a220ed6c51bdfa7126c919.tar.bz2
llvm-e340da73edb65553c7a220ed6c51bdfa7126c919.tar.xz
Changed install_name for libEnhancedDisassembly.dylib on
Mac OS X to match current install location. This has no effect on other platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/edis')
-rw-r--r--tools/edis/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/edis/Makefile b/tools/edis/Makefile
index a3c5879668..cd8f4b067a 100644
--- a/tools/edis/Makefile
+++ b/tools/edis/Makefile
@@ -39,11 +39,12 @@ ifeq ($(HOST_OS),Darwin)
-Wl,-seg1addr -Wl,0xE0000000
# Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line
+ # Path is /Developer/usr/local/lib for now; will use an rpath-based mechanism soon
DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
ifneq ($(DARWIN_VERS),8)
LLVMLibsOptions := $(LLVMLibsOptions) \
-no-undefined -Wl,-install_name \
- -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
+ -Wl,"/Developer/usr/local/lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
endif
endif