commit | d21886cea4d661ba81b577d4bb0792e4ce0e575a | [log] [tgz] |
---|---|---|
author | Ronald Oussoren <ronaldoussoren@mac.com> | Tue Jul 20 16:07:10 2010 +0000 |
committer | Ronald Oussoren <ronaldoussoren@mac.com> | Tue Jul 20 16:07:10 2010 +0000 |
tree | e1ee1d26b2a18b52d6bf809fd22e8e982356c85a | |
parent | 41e6c3df8bd8e7f3990886c5269b2f446095de38 [diff] |
Without this patch the value of sysconfig.get_config_var('LDSHARED') 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.