summaryrefslogtreecommitdiff
path: root/instsetoo_native/CustomTarget_setup.mk
diff options
context:
space:
mode:
Diffstat (limited to 'instsetoo_native/CustomTarget_setup.mk')
-rw-r--r--instsetoo_native/CustomTarget_setup.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/instsetoo_native/CustomTarget_setup.mk b/instsetoo_native/CustomTarget_setup.mk
index 81d48b636035..a213f46fe58f 100644
--- a/instsetoo_native/CustomTarget_setup.mk
+++ b/instsetoo_native/CustomTarget_setup.mk
@@ -86,7 +86,7 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
( \
printf '[Bootstrap]\n' && \
- $(if $(filter YES,$(SYSTEM_PYTHON)),, \
+ $(if $(SYSTEM_PYTHON),, \
printf 'PYUNO_LOADER_PYTHONHOME=%s\n' \
$(if $(ENABLE_MACOSX_MACLIKE_APP_STRUCTURE), \
'$$ORIGIN/../Frameworks/LibreOfficePython.framework', \
@@ -94,7 +94,7 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_
'$$ORIGIN/LibreOfficePython.framework', \
'$$ORIGIN/python-core-$(PYTHON_VERSION)')) &&) \
printf 'PYUNO_LOADER_PYTHONPATH=%s$$ORIGIN\n' \
- $(if $(filter YES,$(SYSTEM_PYTHON)), \
+ $(if $(SYSTEM_PYTHON), \
'', \
$(if $(ENABLE_MACOSX_MACLIKE_APP_STRUCTURE), \
'$(foreach dir,/ /lib-dynload /lib-tk /site-packages,$(patsubst %/,%,$$ORIGIN/../Frameworks/LibreOfficePython.framework/Versions/Current/lib/python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)$(dir))) ', \