Kaydet (Commit) e44cbe7c authored tarafından Steve Dower's avatar Steve Dower

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

üst 637c8e88
...@@ -147,7 +147,7 @@ def build_mingw_lib(dll_path, def_file, dll_file, mingw_lib): ...@@ -147,7 +147,7 @@ def build_mingw_lib(dll_path, def_file, dll_file, mingw_lib):
if msilib.Win64: if msilib.Win64:
dlltool_command += " -m i386:x86-64" dlltool_command += " -m i386:x86-64"
else: else:
dlltool_command += " -m i386" dlltool_command += " -m i386 --as-flags=--32"
f = open(def_file,'w') f = open(def_file,'w')
gendef_pipe = os.popen(gendef_command) gendef_pipe = os.popen(gendef_command)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment