File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -805,8 +805,10 @@ def _create_batch_scripts(self):
805
805
set WINPYARCH="WIN32"
806
806
if "%WiNPYDIR:~-5%"=="amd64" set WINPYARCH="WIN-AMD64"
807
807
808
- if %WINPYARCH%=="WIN32" set WINMINGW=lib\gcc\i686-w64-mingw32
809
- if %WINPYARCH%=="WIN-AMD64" set WINMINGW=lib\gcc\x86_64-w64-mingw32
808
+ if %WINPYARCH%=="WIN32" set BASEMINGW=i686-w64-mingw32
809
+ if %WINPYARCH%=="WIN-AMD64" set BASEMINGW=x86_64-w64-mingw32
810
+
811
+ set WINMINGW=lib\gcc\%BASEMINGW%
810
812
811
813
if not %WINPYARCH%=="WIN-AMD64" goto no_distutil_patch
812
814
%~dp0Find_And_replace.vbs "%WINPYDIR%\Lib\distutils\cygwinccompiler.py" "-O -W" "-O -DMS_WIN64 -W"
@@ -822,7 +824,7 @@ def _create_batch_scripts(self):
822
824
IF "%WINPYXX%"=="27" set WINPYSPEC=specs90
823
825
824
826
cd %WINPYDIR%
825
- copy /Y ..\tools\mingw32\%WINMINGW %\lib\%WINPYMSVCR% libs\%WINPYMSVCR%
827
+ copy /Y ..\tools\mingw32\%BASEMINGW %\lib\%WINPYMSVCR% libs\%WINPYMSVCR%
826
828
827
829
REM copy the right version of gcc
828
830
set dir482=..\tools\mingw32\%WINMINGW%\4.8.2\%WINPYSPEC%
You can’t perform that action at this time.
0 commit comments