aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-11-07 22:19:20 +0000
committerMichael Meeks <michael.meeks@suse.com>2011-11-07 22:19:20 +0000
commitf09587bc2b89c8c0be3df1d7ca6d21e876a1fee6 (patch)
tree1a8de21ace0d8394132bfc113be72d0d1e4c4149
parent2a112a9830e1816bc9a51d64a3fc0ad804528a98 (diff)
extend PYTHONPATH like a drunken crazy; perhaps it helps ...
-rw-r--r--translations/makefile.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/translations/makefile.mk b/translations/makefile.mk
index 1630917a6ee..f2a1b7b4b3a 100644
--- a/translations/makefile.mk
+++ b/translations/makefile.mk
@@ -49,8 +49,12 @@ TARGET=translations_merge
.INCLUDE : target.mk
.IF "$(OS_FOR_BUILD)"=="WNT" || ("$(SYSTEM_PYTHON)"!="YES" && "$(OS)" != "MACOSX")
-PYTHONHOME:=$(SOLARLIBDIR)$/python
-PYTHONPATH:=$(SOLARLIBDIR)$/python
+# watch for the path delimiter
+.IF "$(OS_FOR_BUILD)"=="WNT"
+PYTHONPATH:=$(PWD)$/$(BIN);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload
+.ELSE
+PYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$/python$/lib-dynload
+.ENDIF
.EXPORT: PYTHONHOME
.EXPORT: PYTHONPATH
PYTHONCMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/python