summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-11-22 12:13:00 +0200
committerTor Lillqvist <tml@iki.fi>2012-11-22 12:23:18 +0200
commitf5bdeec992923a0eb3fb3357c1afe3d7fff93840 (patch)
treeb0a2165acc440d9b10205999ae68ea68d1efca36 /python
parent642b86aa541aa977143ac5a084550f3390423926 (diff)
Use xcrun when available to run install_name_tool
This hopefully should help in situations like Jonathan Aquilina's, where /usr/bin/install_name_tool does not correspond to the tool-chain used (but is from an earlier version of Xcode). Change-Id: I5b4ca9e5e163fb4a84967577d2146cdbe8344f03
Diffstat (limited to 'python')
-rw-r--r--python/makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/makefile.mk b/python/makefile.mk
index 87014cacd742..18fa91b82be7 100644
--- a/python/makefile.mk
+++ b/python/makefile.mk
@@ -256,7 +256,7 @@ cd \"$$origpath\"\n\
$(PACKAGE_DIR)/fixinstallnames: $(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE)
@echo remove build installdir from OOoPython
- $(COMMAND_ECHO)install_name_tool -change \
+ $(COMMAND_ECHO)$(XCRUN) install_name_tool -change \
/$(my_prefix)/OOoPython.framework/Versions/$(PYMAJOR).$(PYMINOR)/OOoPython \
@executable_path/../../../../OOoPython \
$(MYCWD)/$(my_prefix)/OOoPython.framework/Versions/$(PYMAJOR).$(PYMINOR)/Resources/Python.app/Contents/MacOS/OOoPython