[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser-build/master] winpython: use wine to run python.exe



commit b67299f66b4f43deaf532b68a7cbca9cce60ba43
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
Date:   Wed Aug 9 15:04:20 2017 +0200

    winpython: use wine to run python.exe
    
    We need wine to run python.exe. It seems it was working without
    explicitely using wine on my build machine, probably because of the
    binfmt configuration in the kernel of that machine.
---
 projects/winpython/build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/winpython/build b/projects/winpython/build
index 2a30acc..5f53b9c 100644
--- a/projects/winpython/build
+++ b/projects/winpython/build
@@ -25,7 +25,7 @@ echo "FAKETIME = \"$FAKETIME\"" >> settings.py
 # Must pre-copy python27.dll into the build directory, or else py2exe can't find it.
 mkdir -p build/bdist.win32/winexe/bundle-2.7/
 cp -a $distdir/python27.dll build/bdist.win32/winexe/bundle-2.7/
-LD_PRELOAD= $distdir/python.exe setup.py py2exe
+LD_PRELOAD= wine $distdir/python.exe setup.py py2exe
 mkdir -p $distdir/wineroot/windows/
 cp -a dist/gcc.exe dist/g++.exe dist/dllwrap.exe $distdir/wineroot/windows/
 cp $rootdir/pyc-timestamp.sh $distdir/



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits