Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f44b9a1

Browse files
author
Thomas Heller
committed
Merged revisions 62145 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r62145 | thomas.heller | 2008-04-04 12:07:55 +0200 (Fri, 04 Apr 2008) | 3 lines Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when gcc is used as compiler. ........
1 parent 5314068 commit f44b9a1

3 files changed

Lines changed: 16 additions & 3 deletions

File tree

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ Extension Modules
1818
Library
1919
-------
2020

21+
Build
22+
-----
23+
24+
- Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when
25+
gcc is used as compiler.
2126

2227
What's New in Python 3.0a4?
2328
===========================

configure

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 61848 .
2+
# From configure.in Revision: 62003 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.61 for python 3.0.
55
#
@@ -12846,7 +12846,11 @@ then
1284612846
then LDSHARED='$(CC) -shared'
1284712847
else LDSHARED='$(CC) -G';
1284812848
fi ;;
12849-
hp*|HP*) LDSHARED="ld -b";;
12849+
hp*|HP*)
12850+
if test "$GCC" = "yes"
12851+
then LDSHARED='$(CC) -shared'
12852+
else LDSHARED='ld -b';
12853+
fi ;;
1285012854
OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
1285112855
Darwin/1.3*)
1285212856
LDSHARED='$(CC) $(LDFLAGS) -bundle'

configure.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,11 @@ then
14681468
then LDSHARED='$(CC) -shared'
14691469
else LDSHARED='$(CC) -G';
14701470
fi ;;
1471-
hp*|HP*) LDSHARED="ld -b";;
1471+
hp*|HP*)
1472+
if test "$GCC" = "yes"
1473+
then LDSHARED='$(CC) -shared'
1474+
else LDSHARED='ld -b';
1475+
fi ;;
14721476
OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
14731477
Darwin/1.3*)
14741478
LDSHARED='$(CC) $(LDFLAGS) -bundle'

0 commit comments

Comments
 (0)