summaryrefslogtreecommitdiff
path: root/pyuno/CustomTarget_pyversion.mk
diff options
context:
space:
mode:
authorDavid Ostrovsky <d.ostrovsky@gmx.de>2012-06-18 00:04:19 +0200
committerDavid Tardon <dtardon@redhat.com>2012-06-22 13:11:41 +0200
commitd712218cc0b658fae66f63c52af7996b714289c9 (patch)
tree74ebe377301f044f5ebd13d7e0ef645817c24dc0 /pyuno/CustomTarget_pyversion.mk
parent3f5245db4b0248bb55c37d3400b8155263880f6e (diff)
fixing pyuno bridge on mingw: packaging system-python
Change-Id: Ib46248d217b0161dc20dde0274842bd7381f0cda
Diffstat (limited to 'pyuno/CustomTarget_pyversion.mk')
-rw-r--r--pyuno/CustomTarget_pyversion.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/pyuno/CustomTarget_pyversion.mk b/pyuno/CustomTarget_pyversion.mk
index 8766e7e348b9..41b26c1831da 100644
--- a/pyuno/CustomTarget_pyversion.mk
+++ b/pyuno/CustomTarget_pyversion.mk
@@ -29,7 +29,15 @@ $(eval $(call gb_CustomTarget_CustomTarget,pyuno/pyversion))
$(call gb_CustomTarget_get_target,pyuno/pyversion) : \
$(call gb_CustomTarget_get_workdir,pyuno/pyversion)/pyversion.hxx
+# system python
+ifeq ($(SYSTEM_PYTHON),YES)
+# mingw: MINGW_PYVERSION is defined in configure
+ifeq ($(GUI)$(COM),WNTGCC)
+PYVERSION=$(MINGW_PYVERSION)
+endif
+else
include $(OUTDIR)/inc/pyversion.Makefile
+endif
$(call gb_CustomTarget_get_workdir,pyuno/pyversion)/pyversion.hxx : $(SRCDIR)/pyuno/zipcore/pyversion.inc | \
$(call gb_CustomTarget_get_workdir,pyuno/pyversion)/.dir