diff options
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/CustomTarget_python_shell.mk | 1 | ||||
-rw-r--r-- | pyuno/Package_python_scripts_install.mk | 2 | ||||
-rw-r--r-- | pyuno/zipcore/mac.sh | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/pyuno/CustomTarget_python_shell.mk b/pyuno/CustomTarget_python_shell.mk index bc6d355f7907..a7b48d554cce 100644 --- a/pyuno/CustomTarget_python_shell.mk +++ b/pyuno/CustomTarget_python_shell.mk @@ -30,6 +30,7 @@ $(call gb_CustomTarget_get_workdir,pyuno/python_shell)/os.sh : \ $(SRCDIR)/pyuno/zipcore/$(if $(filter MACOSX,$(OS)),mac,nonmac).sh $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SED,1) sed -e "s/%%PYVERSION%%/$(pyuno_PYTHON_SHELL_VERSION)/g" \ + -e "s,%%PYTHON_FRAMEWORK_RELATIVE_PATH%%,$(if $(filter YES,$(ENABLE_MACOSX_MACLIKE_APP_STRUCTURE)),../Frameworks/),g" \ $< > $@ # vim: set noet sw=4 ts=4: diff --git a/pyuno/Package_python_scripts_install.mk b/pyuno/Package_python_scripts_install.mk index 49df61503a11..6a68a3b6437f 100644 --- a/pyuno/Package_python_scripts_install.mk +++ b/pyuno/Package_python_scripts_install.mk @@ -11,7 +11,7 @@ $(eval $(call gb_Package_Package,pyuno_python_scripts_install,$(SRCDIR)/pyuno/so $(eval $(call gb_Package_set_outdir,pyuno_python_scripts_install,$(INSTDIR))) -$(eval $(call gb_Package_add_files,pyuno_python_scripts_install,$(gb_PROGRAMDIRNAME),\ +$(eval $(call gb_Package_add_files,pyuno_python_scripts_install,$(LIBO_LIB_PYUNO_FOLDER),\ loader/pythonloader.py \ module/uno.py \ module/unohelper.py \ diff --git a/pyuno/zipcore/mac.sh b/pyuno/zipcore/mac.sh index 7543e6d3f31f..9f04b99a3157 100644 --- a/pyuno/zipcore/mac.sh +++ b/pyuno/zipcore/mac.sh @@ -1,4 +1,4 @@ -PYTHONHOME=$sd_prog/LibreOfficePython.framework +PYTHONHOME=$sd_prog/%%PYTHON_FRAMEWORK_RELATIVE_PATH%%LibreOfficePython.framework export PYTHONHOME pybasislibdir=$PYTHONHOME/Versions/%%PYVERSION%%/lib/python%%PYVERSION%% |