Arfrever Frehtes Taifersar Arahesis <[email protected]> added the comment:
These changes cause some regressions:
- distutils builds third-party extensions with LDFLAGS, which were used to
build CPython. (This is more important regression.)
This problem concerns Python 2.7 and 3.2.
- distutils builds third-party extensions with LDFLAGS environment variable
passed twice to compiler (distutils uses LDSHARED, which now contains
$(LDFLAGS), and uses LDFLAGS).
This problem concerns Python 3.2.
Example for 3.2:
x86_64-pc-linux-gnu-gcc -pthread -shared ${LDFLAGS_from_CPython}
${LDFLAGS_from_current_environment} ${LDFLAGS_from_current_environment}
${CFLAGS} ${object_files} -L/usr/lib64 -lpython3.2mu -o ${extension_module}
----------
nosy: +Arfrever
_______________________________________
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