diff options
author | Andras Timar <atimar@suse.com> | 2011-11-03 11:48:37 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2011-11-03 11:48:37 +0100 |
commit | f58c4f0439d53bc3116d5321fc89d89bab26cb1d (patch) | |
tree | b9135bc32500d7ec79607e9b14966bf1e8064c8a | |
parent | 2477c2e7d811015d4874c3b61624f8f8496744f5 (diff) |
fix build with internal python
-rw-r--r-- | translations/makefile.mk | 4 | ||||
-rw-r--r-- | translations/prj/build.lst | 2 |
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 |