We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae5212d commit ba1d21dCopy full SHA for ba1d21d
tests/test_browser.py
@@ -85,7 +85,10 @@ def build_native_lzma(self):
85
cwd = os.getcwd()
86
try:
87
os.chdir(path_from_root('third_party', 'lzma.js'))
88
- Popen(['sh', './doit.sh']).communicate()
+ if WINDOWS and Building.which('mingw32-make'): # On Windows prefer using MinGW make if it exists, otherwise fall back to hoping we have cygwin make.
89
+ Popen(['doit.bat']).communicate()
90
+ else:
91
+ Popen(['sh', './doit.sh']).communicate()
92
finally:
93
os.chdir(cwd)
94
third_party/lzma.js/doit.bat
@@ -0,0 +1,4 @@
1
+cd lzip
2
+call mingw32-make lzip
3
+copy /Y lzip.exe ..\lzma-native.exe
4
+cd ..
0 commit comments