summaryrefslogtreecommitdiff
path: root/pyuno/CustomTarget_zipcore.mk
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/CustomTarget_zipcore.mk')
-rw-r--r--pyuno/CustomTarget_zipcore.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/CustomTarget_zipcore.mk b/pyuno/CustomTarget_zipcore.mk
index 5f1694ec489b..3235e1e9c62f 100644
--- a/pyuno/CustomTarget_zipcore.mk
+++ b/pyuno/CustomTarget_zipcore.mk
@@ -29,7 +29,7 @@ $(eval $(call gb_CustomTarget_CustomTarget,pyuno/zipcore))
# system python (only mingw)
ifeq ($(SYSTEM_PYTHON),YES)
# mingw: MINGW_SYSROOT is defined in configure
-ifeq ($(GUI)$(COM),WNTGCC)
+ifeq ($(OS)$(COM),WNTGCC)
pyuno_PYTHON_LIB_DIR=$(MINGW_SYSROOT)/lib/python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)
endif
else