From 28d10959e0864565d3b44e7fac5f9df84d8fcece Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Fri, 29 Jul 2011 00:00:37 +0200 Subject: [PATCH] Use system python unconditionally on Mac Internal python on mac does not yield usable python executable, use the system one unconditionally for Mac. --- translate_toolkit/makefile.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/translate_toolkit/makefile.mk b/translate_toolkit/makefile.mk index 334f663369b8..148475d5026c 100644 --- a/translate_toolkit/makefile.mk +++ b/translate_toolkit/makefile.mk @@ -55,15 +55,17 @@ PYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$ .ENDIF # "$(GUI)"=="WNT" .EXPORT: PYTHONPATH -.IF "$(SYSTEM_PYTHON)" == "YES" +# internal python on mac does not yield usable python executable. +# use the system one unconditionally .IF "$(OS)"=="MACOSX" PY_CMD=$(AUGMENT_LIBRARY_PATH) && unset MACOSX_DEPLOYMENT_TARGET && $(WRAPCMD) $(PYTHON) .ELSE +.IF "$(SYSTEM_PYTHON)" == "YES" PY_CMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(PYTHON) -.ENDIF .ELSE # "$(SYSTEM_PYTHON)" == "YES" PY_CMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/python .ENDIF # "$(SYSTEM_PYTHON)" == "YES" +.ENDIF # "$(OS)"=="MACOSX" # --- Files --------------------------------------------------------