File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 Condition =" $(BuildForRelease)" >
3838 <!-- Build libpython##.a as part of this project. This requires gendef and dlltool on the path. -->
3939 <PropertyGroup >
40- <_GenDefPlatform > i386</ _GenDefPlatform >
41- <_GenDefPlatform Condition =" $(Platform) == 'x64'" >i386:x86-64</_GenDefPlatform >
40+ <_DllToolOpts >-m i386 --as-flags=--32</ _DllToolOpts >
41+ <_DllToolOpts Condition =" $(Platform) == 'x64'" >-m i386:x86-64</_DllToolOpts >
4242 </PropertyGroup >
4343
4444 <Exec Command =' gendef - "$(BuildPath)$(PyDllName).dll" > "$(IntermediateOutputPath)mingwlib.def"' ContinueOnError =" false" />
45- <Exec Command =' dlltool --dllname $(PyDllName).dll --def "$(IntermediateOutputPath)mingwlib.def" --output-lib "$(BuildPath)lib$(PyDllName).a" -m $(_GenDefPlatform )' />
45+ <Exec Command =' dlltool --dllname $(PyDllName).dll --def "$(IntermediateOutputPath)mingwlib.def" --output-lib "$(BuildPath)lib$(PyDllName).a" $(_DllToolOpts )' />
4646 </Target >
4747
4848 <Import Project =" ..\msi.targets" />
You can’t perform that action at this time.
0 commit comments