Message118369
| Author |
pitrou |
| Recipients |
brett.cannon, eric.araujo, georg.brandl, jyasskin, loewis, lukasz.langa, pitrou, tarek |
| Date |
2010年10月11日.15:34:43 |
| SpamBayes Score |
0.00037336364 |
| Marked as misclassified |
No |
| Message-id |
<1286811287.76.0.200161520558.issue9437@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The cause for the failure seems to be a bug in the dreaded _parse_makefile(). When you give it a Makefile such as:
LDFLAGS=-foo
PY_LDFLAGS=-bar
LDSHARED=$(CC) -shared ${LDFLAGS} $(PY_LDFLAGS)
It outputs the following variables:
{'CC': '',
'LDFLAGS': '-foo',
'LDSHARED': '-shared ${LDFLAGS} -bar',
'PY_LDFLAGS': '-bar'}
That is, ${LDFLAGS} isn't expanded.
However, since the Makefile now explicitly appends PY_LDFLAGS to LDSHARED, we could also stop doing so in ./configure. |
|