New submission from Brett Cannon <br...@python.org>: 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 ---------- components: Library (Lib) messages: 117484 nosy: brett.cannon priority: deferred blocker severity: normal stage: needs patch status: open title: test_sysconfig when LDFLAGS defined in the user's environment type: behavior versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9963> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com