Commit 9a829bed authored by Georg Brandl's avatar Georg Brandl

#941346: Fix broken shared library build on AIX. Patch by Sebastien Sable,...

#941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou.
parent 08e278a5
...@@ -1256,7 +1256,7 @@ distclean: clobber ...@@ -1256,7 +1256,7 @@ distclean: clobber
done done
-rm -f core Makefile Makefile.pre config.status \ -rm -f core Makefile Makefile.pre config.status \
Modules/Setup Modules/Setup.local Modules/Setup.config \ 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 python*-gdb.py
-rm -f pybuilddir.txt -rm -f pybuilddir.txt
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \ find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
......
...@@ -13,6 +13,11 @@ Core and Builtins ...@@ -13,6 +13,11 @@ Core and Builtins
Library Library
------- -------
Build
-----
- Issue #941346: Fix broken shared library build on AIX.
What's New in Python 3.2 Release Candidate 3? What's New in Python 3.2 Release Candidate 3?
============================================= =============================================
......
...@@ -131,7 +131,7 @@ do ...@@ -131,7 +131,7 @@ do
shift shift
done done
if test "$objfile" = "libpython@VERSION@.so"; then if test "$objfile" = "libpython@VERSION@@ABIFLAGS@.so"; then
ldsocoremode="true" ldsocoremode="true"
fi fi
......
#! /bin/sh #! /bin/sh
# From configure.in Revision: 87698 . # From configure.in Revision: 88350 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for python 3.2. # Generated by GNU Autoconf 2.68 for python 3.2.
# #
...@@ -7426,7 +7426,7 @@ if test -z "$LDSHARED" ...@@ -7426,7 +7426,7 @@ if test -z "$LDSHARED"
then then
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
AIX*) 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" LDSHARED="\$(BINLIBDEST)/config/ld_so_aix \$(CC) -bI:\$(BINLIBDEST)/config/python.exp"
;; ;;
IRIX/5*) LDSHARED="ld -shared";; IRIX/5*) LDSHARED="ld -shared";;
......
...@@ -1642,7 +1642,7 @@ if test -z "$LDSHARED" ...@@ -1642,7 +1642,7 @@ if test -z "$LDSHARED"
then then
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
AIX*) 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" LDSHARED="\$(BINLIBDEST)/config/ld_so_aix \$(CC) -bI:\$(BINLIBDEST)/config/python.exp"
;; ;;
IRIX/5*) LDSHARED="ld -shared";; IRIX/5*) LDSHARED="ld -shared";;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment