commit | c224458ef699e0306162a351ca7454b4d486c635 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sun Jan 02 19:34:03 2011 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sun Jan 02 19:34:03 2011 +0000 |
tree | d74d13a16115b23cb4f6a817c65b742bd7a852e5 | |
parent | 8a7e5daab20ba98c7d95b5843c6b8ae30e5e6667 [diff] [blame] |
Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD and DragonFly BSD. Patch by Nicolas Joly.
diff --git a/configure.in b/configure.in index dad37c53..4d1ed94 100644 --- a/configure.in +++ b/configure.in
@@ -1750,8 +1750,8 @@ 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'