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

boklm at torproject.org boklm at torproject.org
Wed Aug 9 13:13:06 UTC 2017


commit b67299f66b4f43deaf532b68a7cbca9cce60ba43
Author: Nicolas Vigier <boklm at torproject.org>
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/





More information about the tor-commits mailing list