Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when gcc

is used as compiler.
This commit is contained in:
Thomas Heller 2008-04-04 10:07:55 +00:00
parent 8e8ba151dd
commit dc96a77c3a
3 changed files with 14 additions and 3 deletions

View File

@ -28,6 +28,9 @@ Tests
Build
-----
- Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when
gcc is used as compiler.
C API
-----

8
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Revision: 61847 .
# From configure.in Revision: 61992 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.6.
#
@ -12417,7 +12417,11 @@ then
then LDSHARED='$(CC) -shared'
else LDSHARED='$(CC) -G';
fi ;;
hp*|HP*) LDSHARED="ld -b";;
hp*|HP*)
if test "$GCC" = "yes"
then LDSHARED='$(CC) -shared'
else LDSHARED='ld -b';
fi ;;
OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
Darwin/1.3*)
LDSHARED='$(CC) $(LDFLAGS) -bundle'

View File

@ -1485,7 +1485,11 @@ then
then LDSHARED='$(CC) -shared'
else LDSHARED='$(CC) -G';
fi ;;
hp*|HP*) LDSHARED="ld -b";;
hp*|HP*)
if test "$GCC" = "yes"
then LDSHARED='$(CC) -shared'
else LDSHARED='ld -b';
fi ;;
OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
Darwin/1.3*)
LDSHARED='$(CC) $(LDFLAGS) -bundle'