Message117484
| 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:35 | brett.cannon | set | recipients:
+ brett.cannon |
| 2010年09月27日 22:26:35 | brett.cannon | set | messageid: <1285626395.1.0.70736928165.issue9963@psf.upfronthosting.co.za> |
| 2010年09月27日 22:26:33 | brett.cannon | link | issue9963 messages |
| 2010年09月27日 22:26:32 | brett.cannon | create |
|