Antoine Pitrou <[email protected]> added the comment:
It turns out, quite expectedly, that distutils doesn't reuse the various
LDFLAGS recorded by sysconfig (why are there three of them?), but instead only
uses LDSHARED:
>>> sysconfig.get_config_var('LDSHARED')
'gcc -pthread -shared'
>>> sysconfig.get_config_var('LDFLAGS')
'-m32 '
>>> sysconfig.get_config_var('PY_LDFLAGS')
'-m32'
>>> sysconfig.get_config_var('CONFIGURE_LDFLAGS')
'-m32'
I would suggest bumping this to critical or even release blocker, since
building of extensions is broken when using non-default linker flags.
----------
nosy: +eric.araujo
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9437>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com