diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-11-27 15:32:36 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-27 16:57:19 +0100 |
commit | 9d921baa17c3ee8d3c7be0cab5980d0f66319891 (patch) | |
tree | 62f6b0b54e7f1db9a747ffc5a4065a509a0076b8 /scp2 | |
parent | 0c8e2ee3b4bf133d59fd956715418196e0922187 (diff) |
clean up PYTHON related version etc. variables:
- configure defines PYTHON_VERSION, PYTHON_VERSION_MAJOR,
PYTHON_VERSION_MINOR
- remove pyversion.Makefile
Change-Id: I19ac8df18a520ad56bf63ea038dc0769b8249d0b
Diffstat (limited to 'scp2')
-rw-r--r-- | scp2/InstallModule_python.mk | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scp2/InstallModule_python.mk b/scp2/InstallModule_python.mk index 6e2c6d09ee33..42f80c5fba10 100644 --- a/scp2/InstallModule_python.mk +++ b/scp2/InstallModule_python.mk @@ -39,19 +39,17 @@ $(eval $(call gb_InstallModule_add_defs,scp2/python,\ # mingw: mix mode copy file from system python to installation set ifeq ($(GUI)$(COM),WNTGCC) $(eval $(call gb_InstallModule_add_defs,scp2/python,\ - -DPYVERSION=$(MINGW_PYVERSION) \ + -DPYVERSION=$(PYTHON_VERSION) \ -DMINGW_SYSTEM_PYTHON \ )) endif else -include $(OUTDIR)/inc/pyversion.Makefile - $(eval $(call gb_InstallModule_add_defs,scp2/python,\ - -DPYVERSION=$(PYVERSION) \ - -DPYMAJMIN=$(PYMAJOR).$(PYMINOR) \ - -DPYMAJOR=$(PYMAJOR) \ - -DPY_FULL_DLL_NAME=$(PY_FULL_DLL_NAME) \ + -DPYVERSION=$(PYTHON_VERSION) \ + -DPYMAJMIN=$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR) \ + -DPYMAJOR=$(PYTHON_VERSION_MAJOR) \ + -DPY_FULL_DLL_NAME=$(if $(filter WNT-MSC,$(OS)-$(COM)),python$(PYTHON_VERSION_MAJOR)$(PYTHON_VERSION_MINOR).dll,libpython$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)m.so) \ )) endif |