aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-28 10:46:49 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-28 10:46:49 +0200
commita42f62782640dee9297181f16730519590f340a4 (patch)
treedc4ff3cc07b4cd169f8bdbfd6e4c4b51e1425944
parent146d940e2cbe1b7fb6b0be56c21900ab035a9abe (diff)
The ":" is not a path separator on Windows
-rw-r--r--translations/makefile.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/translations/makefile.mk b/translations/makefile.mk
index 876f2c3fea7..9e720903ec1 100644
--- a/translations/makefile.mk
+++ b/translations/makefile.mk
@@ -57,7 +57,11 @@ TRANSLATE_TOOLKIT_PYTHONPATH=$(SOLARLIBDIR)$/translate_toolkit
.IF "$(SYSTEM_PYTHON)" == "YES"
PYTHONPATH:=$(TRANSLATE_TOOLKIT_PYTHONPATH)
.ELSE
-PYTHONPATH:=$(SOLARLIBDIR)/python:$(TRANSLATE_TOOLKIT_PYTHONPATH)
+.IF "$(GUI)"=="WNT"
+PYTHONPATH:=$(SOLARLIBDIR)$/python;$(TRANSLATE_TOOLKIT_PYTHONPATH)
+.ELSE # "$(GUI)"=="WNT"
+PYTHONPATH:=$(SOLARLIBDIR)$/python:$(TRANSLATE_TOOLKIT_PYTHONPATH)
+.ENDIF # "$(GUI)"=="WNT"
.ENDIF
.EXPORT: PYTHONPATH