Use system python unconditionally on Mac

Internal python on mac does not yield usable python executable,
use the system one unconditionally for Mac.
This commit is contained in:
Thorsten Behrens 2011-07-29 00:00:37 +02:00
parent ad99ba67ec
commit 28d10959e0

View file

@ -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 --------------------------------------------------------