summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Tigeot <ftigeot@wolfpond.org>2011-03-25 21:15:24 +0100
committerFrancois Tigeot <ftigeot@wolfpond.org>2011-03-25 21:15:24 +0100
commit578bbc8f237d7913c5251e90e645efc64cc20b0d (patch)
treeb927b62ef858c1ffc4411a93c6455fd2c463fb9c
parent5dfbbf52c35260407f99e0c38a4c79869be75bb0 (diff)
Fix a hardcoded reference to the python binary.
Thanks to: Michael Meeks <michael.meeks@novell.com>
-rw-r--r--translate_toolkit/makefile.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/translate_toolkit/makefile.mk b/translate_toolkit/makefile.mk
index b129031..96cbffc 100644
--- a/translate_toolkit/makefile.mk
+++ b/translate_toolkit/makefile.mk
@@ -48,16 +48,16 @@ TARGET=trt
# --- Python paths --------------------------------------------------
.IF "$(SYSTEM_PYTHON)"!="YES"
-PYTHON=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/python
+PY_CMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/$(PYTHON)
.ELSE # "$(SYSTEM_PYTHON)"!="YES"
-PYTHON=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) python
+PY_CMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(PYTHON)
.ENDIF # "$(SYSTEM_PYTHON)"!="YES"
# --- Files --------------------------------------------------------
TARFILE_NAME=translate-toolkit-1.8.1
TARFILE_MD5=b4cae0700aa1c2aef7eb7f345365e6f1
-BUILD_ACTION=$(PYTHON) setup.py build
+BUILD_ACTION=$(PY_CMD) setup.py build
BUILD_DIR=
# --- Targets ------------------------------------------------------