[Libreoffice-commits] .: translate_toolkit/makefile.mk
Fridrich Strba
fridrich at kemper.freedesktop.org
Fri Mar 25 14:27:02 PDT 2011
translate_toolkit/makefile.mk | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 8ac8bd7be100ea481768b53bfd413a6ac23a7c60
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Fri Mar 25 22:26:43 2011 +0100
Find the python modules even when building with internal python
diff --git a/translate_toolkit/makefile.mk b/translate_toolkit/makefile.mk
index 96cbffc..8a0560f 100644
--- a/translate_toolkit/makefile.mk
+++ b/translate_toolkit/makefile.mk
@@ -47,6 +47,14 @@ TARGET=trt
# --- Python paths --------------------------------------------------
+# watch for the path delimiter
+.IF "$(GUI)"=="WNT"
+PYTHONPATH:=$(PWD)$/$(BIN);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload
+.ELSE # "$(GUI)"=="WNT"
+PYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$/python$/lib-dynload
+.ENDIF # "$(GUI)"=="WNT"
+.EXPORT: PYTHONPATH
+
.IF "$(SYSTEM_PYTHON)"!="YES"
PY_CMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/$(PYTHON)
.ELSE # "$(SYSTEM_PYTHON)"!="YES"
More information about the Libreoffice-commits
mailing list