From 3cba5c08f0891505378cf2fa0d7f724871635b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Mon, 16 Sep 2002 17:50:59 +0000 Subject: Patch #609700: Use $(CC) to link on Linux. --- configure | 4 ++-- configure.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index e3100a8..8c7bf9b 100755 --- a/configure +++ b/configure @@ -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*) -- cgit v0.12