summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-02-15 15:44:51 (GMT)
committerGeorg Brandl <georg@python.org>2011-02-15 15:44:51 (GMT)
commit9a829bed975c30f4420f180baf935717c9416e28 (patch)
tree9157544b52c715e5fbd37147110fe7f6036494bf
parent08e278a562210c58ca7b4d6a4d19ff1ee22c5476 (diff)
downloadcpython-9a829bed975c30f4420f180baf935717c9416e28.zip
cpython-9a829bed975c30f4420f180baf935717c9416e28.tar.gz
cpython-9a829bed975c30f4420f180baf935717c9416e28.tar.bz2
#941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou.
-rw-r--r--Makefile.pre.in2
-rw-r--r--Misc/NEWS5
-rw-r--r--Modules/ld_so_aix.in2
-rwxr-xr-xconfigure4
-rw-r--r--configure.in2
5 files changed, 10 insertions, 5 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 63ee79b..b2130bc 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1256,7 +1256,7 @@ distclean: clobber
done
-rm -f core Makefile Makefile.pre config.status \
Modules/Setup Modules/Setup.local Modules/Setup.config \
- Modules/ld_so_aix Misc/python.pc
+ Modules/ld_so_aix Modules/python.exp Misc/python.pc
-rm -f python*-gdb.py
-rm -f pybuilddir.txt
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
diff --git a/Misc/NEWS b/Misc/NEWS
index f5aec45..6b339ef 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,11 @@ Core and Builtins
Library
-------
+Build
+-----
+
+- Issue #941346: Fix broken shared library build on AIX.
+
What's New in Python 3.2 Release Candidate 3?
=============================================
diff --git a/Modules/ld_so_aix.in b/Modules/ld_so_aix.in
index 0fd245b..86a9f7e 100644
--- a/Modules/ld_so_aix.in
+++ b/Modules/ld_so_aix.in
@@ -131,7 +131,7 @@ do
shift
done
-if test "$objfile" = "libpython@VERSION@.so"; then
+if test "$objfile" = "libpython@VERSION@@ABIFLAGS@.so"; then
ldsocoremode="true"
fi
diff --git a/configure b/configure
index 2129cdc..dbca957 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 87698 .
+# From configure.in Revision: 88350 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for python 3.2.
#
@@ -7426,7 +7426,7 @@ if test -z "$LDSHARED"
then
case $ac_sys_system/$ac_sys_release in
AIX*)
- BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:Modules/python.exp -L\$(srcdir)"
+ BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp"
LDSHARED="\$(BINLIBDEST)/config/ld_so_aix \$(CC) -bI:\$(BINLIBDEST)/config/python.exp"
;;
IRIX/5*) LDSHARED="ld -shared";;
diff --git a/configure.in b/configure.in
index 419a93c..d4d33b5 100644
--- a/configure.in
+++ b/configure.in
@@ -1642,7 +1642,7 @@ if test -z "$LDSHARED"
then
case $ac_sys_system/$ac_sys_release in
AIX*)
- BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:Modules/python.exp -L\$(srcdir)"
+ BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp"
LDSHARED="\$(BINLIBDEST)/config/ld_so_aix \$(CC) -bI:\$(BINLIBDEST)/config/python.exp"
;;
IRIX/5*) LDSHARED="ld -shared";;