Patch #609700: Use $(CC) to link on Linux.

This commit is contained in:
Martin v. Löwis 2002-09-16 17:50:59 +00:00
parent 658009afdb
commit 3cba5c08f0
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.343 . # From configure.in Revision: 1.344 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53. # Generated by GNU Autoconf 2.53.
# #
@ -8875,7 +8875,7 @@ then
BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)' BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)' LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)'
fi ;; fi ;;
Linux*|GNU*) LDSHARED="gcc -shared";; Linux*|GNU*) LDSHARED='$(CC) -shared';;
dgux*) LDSHARED="ld -G";; dgux*) LDSHARED="ld -G";;
BSD/OS*/4*) LDSHARED="gcc -shared";; BSD/OS*/4*) LDSHARED="gcc -shared";;
OpenBSD*|NetBSD*|FreeBSD*) OpenBSD*|NetBSD*|FreeBSD*)

View File

@ -924,7 +924,7 @@ then
BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)' BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)' LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)'
fi ;; fi ;;
Linux*|GNU*) LDSHARED="gcc -shared";; Linux*|GNU*) LDSHARED='$(CC) -shared';;
dgux*) LDSHARED="ld -G";; dgux*) LDSHARED="ld -G";;
BSD/OS*/4*) LDSHARED="gcc -shared";; BSD/OS*/4*) LDSHARED="gcc -shared";;
OpenBSD*|NetBSD*|FreeBSD*) OpenBSD*|NetBSD*|FreeBSD*)