summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/CustomTarget_zipcore.mk2
-rw-r--r--pyuno/Module_pyuno.mk4
2 files changed, 3 insertions, 3 deletions
diff --git a/pyuno/CustomTarget_zipcore.mk b/pyuno/CustomTarget_zipcore.mk
index 3f4bbeb8b5ea..0efd83093ac3 100644
--- a/pyuno/CustomTarget_zipcore.mk
+++ b/pyuno/CustomTarget_zipcore.mk
@@ -10,7 +10,7 @@
$(eval $(call gb_CustomTarget_CustomTarget,pyuno/zipcore))
# system python (only mingw)
-ifeq ($(SYSTEM_PYTHON),YES)
+ifneq ($(SYSTEM_PYTHON),)
# mingw: MINGW_SYSROOT is defined in configure
ifeq ($(OS)$(COM),WNTGCC)
pyuno_PYTHON_LIB_DIR=$(MINGW_SYSROOT)/lib/python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)
diff --git a/pyuno/Module_pyuno.mk b/pyuno/Module_pyuno.mk
index a91c58b6313a..28aef7134f05 100644
--- a/pyuno/Module_pyuno.mk
+++ b/pyuno/Module_pyuno.mk
@@ -28,7 +28,7 @@ endif
# Windows: only --enable-python=internal possible
# mingw: both cases possible: internal && system
# that why it makes sense to handle the next 3 targets
-# with SYSTEM_PYTHON=YES and SYSTEM_PYTHON=NO
+# with SYSTEM_PYTHON=TRUE and SYSTEM_PYTHON=
# zipcore: pyuno/python.exe on Windows
ifeq ($(OS),WNT)
@@ -37,7 +37,7 @@ $(eval $(call gb_Module_add_targets,pyuno,\
))
endif
-ifneq ($(SYSTEM_PYTHON),YES)
+ifeq ($(SYSTEM_PYTHON),)
# zipcore: python.sh on Unix
ifneq ($(OS),WNT)