python3: fix the MacOSX build here too
/usr/bin/install -s will invoke "xcrun strip", and there are a few hardocded install_name_tool left. Change-Id: I839af379320b4886c45a12c9a1d4fa88d2ef0059
This commit is contained in:
@@ -2722,6 +2722,7 @@ if test $_os = Darwin; then
|
||||
INSTALL_NAME_TOOL=`xcrun -find install_name_tool`
|
||||
AR=`xcrun -find ar`
|
||||
NM=`xcrun -find nm`
|
||||
STRIP=`xcrun -find strip`
|
||||
LIBTOOL=`xcrun -find libtool`
|
||||
RANLIB=`xcrun -find ranlib`
|
||||
;;
|
||||
@@ -2885,6 +2886,7 @@ if test $_os = iOS; then
|
||||
INSTALL_NAME_TOOL=`xcrun -find install_name_tool`
|
||||
AR=`xcrun -find ar`
|
||||
NM=`xcrun -find nm`
|
||||
STRIP=`xcrun -find strip`
|
||||
LIBTOOL=`xcrun -find libtool`
|
||||
RANLIB=`xcrun -find ranlib`
|
||||
fi
|
||||
|
@@ -120,7 +120,7 @@ cd \"$$origpath\"\n\
|
||||
touch $@
|
||||
|
||||
$(call gb_ExternalProject_get_state_target,python3,fixinstallnames) : $(call gb_ExternalProject_get_state_target,python3,build)
|
||||
install_name_tool -change \
|
||||
$(INSTALL_NAME_TOOL) -change \
|
||||
$(python3_fw_prefix)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/LibreOfficePython \
|
||||
@executable_path/../../../../LibreOfficePython \
|
||||
$(python3_fw_prefix)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/Resources/Python.app/Contents/MacOS/LibreOfficePython
|
||||
@@ -132,7 +132,7 @@ $(call gb_ExternalProject_get_state_target,python3,executables) : $(call gb_Exte
|
||||
for file in python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR) \
|
||||
python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)m \
|
||||
pythonw$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR) ; do \
|
||||
install_name_tool -change \
|
||||
$(INSTALL_NAME_TOOL) -change \
|
||||
$(python3_fw_prefix)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/LibreOfficePython \
|
||||
@executable_path/../LibreOfficePython $$file ; done
|
||||
touch $@
|
||||
|
@@ -24,3 +24,14 @@ diff -ru python3.old_/configure python3/configure
|
||||
ARCH_RUN_32BIT=""
|
||||
LIPO_32BIT_FLAGS=""
|
||||
elif test "$UNIVERSAL_ARCHS" = "64-bit" ; then
|
||||
--- python3/Mac/Makefile.in.orig 2013-09-13 20:16:50.558137603 +0200
|
||||
+++ python3/Mac/Makefile.in 2013-09-13 21:57:14.790962423 +0200
|
||||
@@ -39,7 +39,7 @@
|
||||
INSTALL_SCRIPT= @INSTALL_SCRIPT@
|
||||
INSTALL_DATA=@INSTALL_DATA@
|
||||
LN=@LN@
|
||||
-STRIPFLAG=-s
|
||||
+STRIPFLAG=
|
||||
CPMAC=CpMac
|
||||
|
||||
APPTEMPLATE=$(srcdir)/Resources/app
|
||||
|
Reference in New Issue
Block a user