summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-03-27 12:49:27 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-03-27 12:49:27 -0500
commit353ddae6eb01808889156ae54b48d27a5468153a (patch)
treef2acf0428209e308126aa296b7c2f13c1680b0a9
parent442185daa1efb5ead9dc42caffdaeee4c97902bc (diff)
fix DEPLOYMENT_TARGET snafu on Mac for translate_toolkit
-rw-r--r--translate_toolkit/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/translate_toolkit/makefile.mk b/translate_toolkit/makefile.mk
index 2e13581..7c6df62 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 --------------------------------------------------------