diff options
Diffstat (limited to 'tools/depends/target/python27/Python-no-export-path.patch')
-rw-r--r-- | tools/depends/target/python27/Python-no-export-path.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/depends/target/python27/Python-no-export-path.patch b/tools/depends/target/python27/Python-no-export-path.patch new file mode 100644 index 0000000000..5b001b1ed3 --- /dev/null +++ b/tools/depends/target/python27/Python-no-export-path.patch @@ -0,0 +1,11 @@ +--- Makefile.pre.in.orig 2015-10-09 19:10:15.042905069 +0200 ++++ Makefile.pre.in 2015-10-09 19:11:01.513642241 +0200 +@@ -1070,8 +1070,6 @@ + $(srcdir)/Lib/$(PLATDIR): + mkdir $(srcdir)/Lib/$(PLATDIR) + cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen +- export PATH; PATH="`pwd`:$$PATH"; \ +- export PYTHONPATH; PYTHONPATH="$(srcdir)/Lib:$(abs_builddir)/`cat pybuilddir.txt`"; \ + export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \ + export EXE; EXE="$(BUILDEXE)"; \ + if [ -n "$(MULTIARCH)" ]; then export MULTIARCH; MULTIARCH=$(MULTIARCH); fi; \ |