Fix MinGW 64bit native windows Python linking problems
Fixes linker error: undefined reference to `__imp_Py_InitModule4'
This commit is contained in:
parent
1540ff451f
commit
81b0abaf0b
1 changed files with 3 additions and 0 deletions
|
|
@ -67,6 +67,9 @@ install:
|
||||||
$env:MSYSTEM="MINGW$env:MBITS"
|
$env:MSYSTEM="MINGW$env:MBITS"
|
||||||
$env:CC="$env:MARCH-w64-mingw32-gcc"
|
$env:CC="$env:MARCH-w64-mingw32-gcc"
|
||||||
$env:CXX="$env:MARCH-w64-mingw32-g++"
|
$env:CXX="$env:MARCH-w64-mingw32-g++"
|
||||||
|
if ($env:MBITS -eq "64" -and $env:SWIGLANG -eq "python") {
|
||||||
|
$env:CHECK_OPTIONS2="CFLAGS+=-DMS_WIN64 CXXFLAGS+=-DMS_WIN64"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
- if "%OSVARIANT%"=="" bash -c "cd /usr/bin && curl --retry 15 -s -L https://github.com/swig/cccl/archive/cccl-1.0.tar.gz | tar -xz --strip 1 cccl-cccl-1.0/cccl"
|
- if "%OSVARIANT%"=="" bash -c "cd /usr/bin && curl --retry 15 -s -L https://github.com/swig/cccl/archive/cccl-1.0.tar.gz | tar -xz --strip 1 cccl-cccl-1.0/cccl"
|
||||||
- if "%OSVARIANT%"=="" echo Using Visual Studio %VSVER%.0 at %VSCOMNTOOLS%
|
- if "%OSVARIANT%"=="" echo Using Visual Studio %VSVER%.0 at %VSCOMNTOOLS%
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue