aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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