[Python-checkins] cpython (2.7): Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library.

steve.dower python-checkins at python.org
Mon Jun 8 18:57:18 CEST 2015


https://hg.python.org/cpython/rev/686f9a607b98
changeset:   96549:686f9a607b98
branch:      2.7
parent:      96543:00f8804f559c
user:        Steve Dower <steve.dower at microsoft.com>
date:        Mon Jun 08 09:57:04 2015 -0700
summary:
  Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library.

files:
  Tools/msi/msi.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -147,7 +147,7 @@
     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)

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list