Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library.

This commit is contained in:
Steve Dower 2015-06-08 09:57:04 -07:00
parent 637c8e88ab
commit e44cbe7c22
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ def build_mingw_lib(dll_path, def_file, dll_file, mingw_lib):
if msilib.Win64:
dlltool_command += " -m i386:x86-64"
else:
dlltool_command += " -m i386"
dlltool_command += " -m i386 --as-flags=--32"
f = open(def_file,'w')
gendef_pipe = os.popen(gendef_command)