diff options
Diffstat (limited to 'pyuno/CustomTarget_python_shell.mk')
-rw-r--r-- | pyuno/CustomTarget_python_shell.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pyuno/CustomTarget_python_shell.mk b/pyuno/CustomTarget_python_shell.mk index cf64f533ba7b..feed2e48730a 100644 --- a/pyuno/CustomTarget_python_shell.mk +++ b/pyuno/CustomTarget_python_shell.mk @@ -29,13 +29,11 @@ $(eval $(call gb_CustomTarget_CustomTarget,pyuno/python_shell)) $(call gb_CustomTarget_get_target,pyuno/python_shell) : \ $(call gb_CustomTarget_get_workdir,pyuno/python_shell)/python.sh -include $(OUTDIR)/inc/pyversion.Makefile - ifeq ($(OS),MACOSX) -pyuno_PYTHON_SHELL_VERSION:=$(PYMAJOR).$(PYMINOR) +pyuno_PYTHON_SHELL_VERSION:=$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR) pyuno_PYTHON_SHELL_STRIPRULE:=-e '/^NONMACSECTION/,/^MACSECTION/d' else -pyuno_PYTHON_SHELL_VERSION:=$(PYVERSION) +pyuno_PYTHON_SHELL_VERSION:=$(PYTHON_VERSION) pyuno_PYTHON_SHELL_STRIPRULE:=-e '/^NONMACSECTION/d' -e '/^MACSECTION/,$$d' endif |