aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--translations/makefile.mk4
-rw-r--r--translations/prj/build.lst2
2 files changed, 5 insertions, 1 deletions
diff --git a/translations/makefile.mk b/translations/makefile.mk
index b02b466158e..b7e0e3c2e2d 100644
--- a/translations/makefile.mk
+++ b/translations/makefile.mk
@@ -49,6 +49,10 @@ TARGET=translations_merge
.INCLUDE : target.mk
.IF "$(OS_FOR_BUILD)"=="WNT" || ("$(SYSTEM_PYTHON)"!="YES" && "$(OS)" != "MACOSX")
+PYTHONHOME:=$(SOLARLIBDIR)$/python
+PYTHONPATH:=$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)/python/lib-dynload
+.EXPORT: PYTHONHOME
+.EXPORT: PYTHONPATH
PYTHONCMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/python
.ELSE
PYTHONCMD=$(WRAPCMD) $(PYTHON)
diff --git a/translations/prj/build.lst b/translations/prj/build.lst
index ff8c2ef34a2..5a41f13912f 100644
--- a/translations/prj/build.lst
+++ b/translations/prj/build.lst
@@ -1,2 +1,2 @@
-translations translations : l10ntools TRANSLATE_TOOLKIT:translate_toolkit GLIB:glib NULL
+translations translations : l10ntools PYTHON:python TRANSLATE_TOOLKIT:translate_toolkit GLIB:glib NULL
translations translations nmake - all translations_source NULL