mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
#941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou.
This commit is contained in:
parent
08e278a562
commit
9a829bed97
5 changed files with 10 additions and 5 deletions
|
@ -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
|
||||||
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
|
||||||
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
|
||||||
|
|
||||||
|
|
4
configure
vendored
4
configure
vendored
|
@ -1,5 +1,5 @@
|
||||||
#! /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"
|
||||||
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"
|
||||||
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";;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue