diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-09-16 17:50:59 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-09-16 17:50:59 (GMT) |
commit | 3cba5c08f0891505378cf2fa0d7f724871635b37 (patch) | |
tree | a204feb2069edc9ce4eb675961e79198b916ea23 | |
parent | 658009afdb429a9507852c72086337c42bcf1532 (diff) | |
download | cpython-3cba5c08f0891505378cf2fa0d7f724871635b37.zip cpython-3cba5c08f0891505378cf2fa0d7f724871635b37.tar.gz cpython-3cba5c08f0891505378cf2fa0d7f724871635b37.tar.bz2 |
Patch #609700: Use $(CC) to link on Linux.
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.343 . +# From configure.in Revision: 1.344 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53. # @@ -8875,7 +8875,7 @@ then BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)' LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)' fi ;; - Linux*|GNU*) LDSHARED="gcc -shared";; + Linux*|GNU*) LDSHARED='$(CC) -shared';; dgux*) LDSHARED="ld -G";; BSD/OS*/4*) LDSHARED="gcc -shared";; OpenBSD*|NetBSD*|FreeBSD*) diff --git a/configure.in b/configure.in index 2954255..e97e32e 100644 --- a/configure.in +++ b/configure.in @@ -924,7 +924,7 @@ then BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)' LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)' fi ;; - Linux*|GNU*) LDSHARED="gcc -shared";; + Linux*|GNU*) LDSHARED='$(CC) -shared';; dgux*) LDSHARED="ld -G";; BSD/OS*/4*) LDSHARED="gcc -shared";; OpenBSD*|NetBSD*|FreeBSD*) |