From 08bd5e4fde003f2e4cf110016587e606d2331f70 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 27 Mar 2011 12:49:27 -0500 Subject: [PATCH] fix DEPLOYMENT_TARGET snafu on Mac for translate_toolkit --- translate_toolkit/makefile.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/translate_toolkit/makefile.mk b/translate_toolkit/makefile.mk index 2e1358158ee5..7c6df6251699 100644 --- a/translate_toolkit/makefile.mk +++ b/translate_toolkit/makefile.mk @@ -58,7 +58,11 @@ PYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$ .IF "$(SYSTEM_PYTHON)"!="YES" PY_CMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/python .ELSE # "$(SYSTEM_PYTHON)"!="YES" +.IF "$(OS)"=="MACOSX" +PY_CMD=$(AUGMENT_LIBRARY_PATH) && unset MACOSX_DEPLOYMENT_TARGET && $(WRAPCMD) $(PYTHON) +.ELSE PY_CMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(PYTHON) +.ENDIF .ENDIF # "$(SYSTEM_PYTHON)"!="YES" # --- Files --------------------------------------------------------