diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-09-30 11:17:27 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-09-30 11:17:27 (GMT) |
commit | d61888b60a9c35e452b0d13ba2336d9d96459c7e (patch) | |
tree | a1f58f67d1c1d0616a95e92e0e35b93b0d5924fe /configure.in | |
parent | bc01c3248d7d7bc00244034951d30edaa5061323 (diff) | |
download | cpython-d61888b60a9c35e452b0d13ba2336d9d96459c7e.zip cpython-d61888b60a9c35e452b0d13ba2336d9d96459c7e.tar.gz cpython-d61888b60a9c35e452b0d13ba2336d9d96459c7e.tar.bz2 |
Patch #596576: Always use cc to link on NetBSD. Will backport to 2.2.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index e97e32e..5e68e75 100644 --- a/configure.in +++ b/configure.in @@ -927,13 +927,14 @@ then Linux*|GNU*) LDSHARED='$(CC) -shared';; dgux*) LDSHARED="ld -G";; BSD/OS*/4*) LDSHARED="gcc -shared";; - OpenBSD*|NetBSD*|FreeBSD*) + OpenBSD*|FreeBSD*) if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]] then LDSHARED="cc -shared ${LDFLAGS}" else LDSHARED="ld -Bshareable ${LDFLAGS}" fi;; + NetBSD*) LDSHARED="cc -shared ${LDFLAGS}";; OpenUNIX*|UnixWare*) if test "$GCC" = "yes" then LDSHARED="$(CC) -shared" |