summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-03-28 12:32:04 +0200
committerPetr Mladek <pmladek@suse.cz>2011-03-28 12:32:04 +0200
commit1b62fbe6e0f5a494318f4541935634641e14a983 (patch)
tree8dfc40e31fb4344c2b3e23547eaebd537b267b01
parent353ddae6eb01808889156ae54b48d27a5468153a (diff)
revert condition for SYSTEM_PYTHON to make it better readable
-rw-r--r--translate_toolkit/makefile.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/translate_toolkit/makefile.mk b/translate_toolkit/makefile.mk
index 7c6df62..9d0fbf6 100644
--- a/translate_toolkit/makefile.mk
+++ b/translate_toolkit/makefile.mk
@@ -55,15 +55,15 @@ PYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$
.ENDIF # "$(GUI)"=="WNT"
.EXPORT: PYTHONPATH
-.IF "$(SYSTEM_PYTHON)"!="YES"
-PY_CMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/python
-.ELSE # "$(SYSTEM_PYTHON)"!="YES"
+.IF "$(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"
+.ELSE # "$(SYSTEM_PYTHON)" == "YES"
+PY_CMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/python
+.ENDIF # "$(SYSTEM_PYTHON)" == "YES"
# --- Files --------------------------------------------------------