[New-bugs-announce] [issue10547] FreeBSD: wrong value for LDSHARED in sysconfig

Stefan Krah report at bugs.python.org
Sat Nov 27 14:47:51 CET 2010

New submission from Stefan Krah <stefan-usenet at bytereef.org>:

On FreeBSD, the config variable LDSHARED contains the literal '${LDFLAGS}',
causing this failure in test_distutils:

'test_get_outputs (distutils.tests.test_build_ext.BuildExtTestCase) ... gcc: ': No such file or directory

The patch fixes the issue and all tests pass.

Benjamin, are you ok with the change for 2.7? I'm not sure why autoreconf
generated a bit of extra noise; I used version 2.65. Also, OpenBSD and
NetBSD should be affected as well.

components: Build
files: freebsd_ldshared.patch
keywords: needs review, patch
messages: 122525
nosy: benjamin.peterson, skrah
priority: normal
severity: normal
stage: patch review
status: open
title: FreeBSD: wrong value for LDSHARED in sysconfig
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file19836/freebsd_ldshared.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list