8000 mingwpy compatibility fix · winpython/winpython@f41ee62 · GitHub
[go: up one dir, main page]

Skip to content

Commit f41ee62

Browse files
author
stonebig
committed
mingwpy compatibility fix
1 parent a1a9da6 commit f41ee62

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

make.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,10 @@ def _create_batch_scripts(self):
680680
IF "%WINPYXX%"=="27" set WINPYSPEC=specs90
681681
682682
cd %WINPYDIR%
683+
684+
if not exist ..\tools\mingw32 echo no_mingw_in_tools
685+
if not exist ..\tools\mingw32 goto no_mingw_in_tools
686+
683687
copy /Y ..\tools\mingw32\%BASEMINGW%\lib\%WINPYMSVCR% libs\%WINPYMSVCR%
684688
685689
REM copy the right version of gcc
@@ -695,6 +699,9 @@ def _create_batch_scripts(self):
695699
..\tools\mingw32\bin\dlltool -D python%WINPYXX%.dll -d python%WINPYXX%.def -l libpython%WINPYXX%.dll.a
696700
move /Y libpython%WINPYXX%.dll.a libs
697701
del python%WINPYXX%.def
702+
703+
:no_mingw_in_tools
704+
698705
"""
699706

700707
self.create_batch_script('Find_And_replace.vbs', r"""

0 commit comments

Comments
 (0)
0