From f58c4f0439d53bc3116d5321fc89d89bab26cb1d Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Thu, 3 Nov 2011 11:48:37 +0100 Subject: fix build with internal python --- translations/makefile.mk | 4 ++++ translations/prj/build.lst | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- cgit