Staging
v0.5.1
https://github.com/python/cpython
Revision d21886cea4d661ba81b577d4bb0792e4ce0e575a authored by Ronald Oussoren on 20 July 2010, 16:07:10 UTC, committed by Ronald Oussoren on 20 July 2010, 16:07:10 UTC
is wrong when PY_LDFLAGS is not empty.

The bug was caused by LDSHARED getting expanded *before* sysconfig
renamed PY_LDSHARED (and simular values) to names without a PY_
prefix.

The patch tries to maintain the intended behaviour of allowing users
to set LDFLAGS in the environment and have that affect the build.

Without this patch a universal build on OSX cannot build universal
(fat binary) extensions.
1 parent 41e6c3d
History
Tip revision: d21886cea4d661ba81b577d4bb0792e4ce0e575a authored by Ronald Oussoren on 20 July 2010, 16:07:10 UTC
Without this patch the value of sysconfig.get_config_var('LDSHARED')
Tip revision: d21886c
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 505 bytes
.hgignore -rw-r--r-- 717 bytes
.hgtags -rw-r--r-- 3.6 KB
LICENSE -rw-r--r-- 14.1 KB
Makefile.pre.in -rw-r--r-- 39.9 KB
README -rw-r--r-- 6.9 KB
configure -rwxr-xr-x 389.4 KB
configure.in -rw-r--r-- 119.1 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 33.2 KB
runtests.sh -rwxr-xr-x 2.1 KB
setup.py -rw-r--r-- 76.5 KB

README

back to top