[issue4010] configure options don't trickle down to distutils
John P. Speno
report at bugs.python.org
Fri Aug 21 23:48:22 CEST 2009
John P. Speno <spamfilter at macspeno.com> added the comment:
Furthermore, there's another bug in setup.py When extensions are built
and CPPFLAGS (or other arguments) has multiple arguments, the order of
the arguments are reversed. This is the wrong behavior. The specified
directories should be used in the given order.
For example, if CPPFLAGS="-I/one -I/two -I/three", then when an
extention is build, the order of the compile would be:
cc -I/three -I/two -I/one ...
There's this bit that seems reponsible in setup.py:
for directory in reversed(options.dirs):
add_dir_to_list(dir_list, directory)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4010>
_______________________________________
More information about the Python-bugs-list
mailing list