This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients brett.cannon
Date 2010-09-27.22:26:32
SpamBayes Score 0.0076310327
Marked as misclassified No
Message-id <1285626395.1.0.70736928165.issue9963@psf.upfronthosting.co.za>
In-reply-to
Content
test_sysconfig.test_ldshared_value is failing for me on Mac because my LDFLAGS environment variable is being defined twice in what sysconfig.get_config_var('LDFLAGS') returns. This fails in a comparison against sysconfig.get_config_var('LDSHARED') as the values are only set once::

AssertionError: '-L/Users/brett/.slash/_/lib -L/Users/brett/.local/lib  -L/Users/brett/.slash/_/lib -L/Users/brett/.local/lib' not found in 'clang  -L/Users/brett/.slash/_/lib -L/Users/brett/.local/lib -bundle -undefined dynamic_lookup'

I suspect what is happening is sysconfig is using PY_LDFLAGS, which uses both CONFIGURE_LDFLAGS *and* LDFLAGS when the Makefile is run. This leads to LDFLAGS being set twice if it was pulled from the user's environment variable
History
Date User Action Args
2010-09-27 22:26:35brett.cannonsetrecipients: + brett.cannon
2010-09-27 22:26:35brett.cannonsetmessageid: <1285626395.1.0.70736928165.issue9963@psf.upfronthosting.co.za>
2010-09-27 22:26:33brett.cannonlinkissue9963 messages
2010-09-27 22:26:32brett.cannoncreate