summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-02 19:34:03 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-02 19:34:03 (GMT)
commitc224458ef699e0306162a351ca7454b4d486c635 (patch)
treed74d13a16115b23cb4f6a817c65b742bd7a852e5 /configure.in
parent8a7e5daab20ba98c7d95b5843c6b8ae30e5e6667 (diff)
downloadcpython-c224458ef699e0306162a351ca7454b4d486c635.zip
cpython-c224458ef699e0306162a351ca7454b4d486c635.tar.gz
cpython-c224458ef699e0306162a351ca7454b4d486c635.tar.bz2
Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
and DragonFly BSD. Patch by Nicolas Joly.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index dad37c5..4d1ed94 100644
--- a/configure.in
+++ b/configure.in
@@ -1750,8 +1750,8 @@ then
esac
fi;;
NetBSD*|DragonFly*)
- LDSHARED="cc -shared"
- LDCXXSHARED="c++ -shared";;
+ LDSHARED="$(CC) -shared"
+ LDCXXSHARED="$(CXX) -shared";;
OpenUNIX*|UnixWare*)
if test "$GCC" = "yes" ; then
LDSHARED='$(CC) -shared'