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

Skip to content

Commit a57890e

Browse files
committed
Issue #10656: Merge AIX build fix from 3.6
2 parents 6a8f60d + e45df0a commit a57890e

6 files changed

Lines changed: 9 additions & 3 deletions

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ libainstall: all python-config
14211421
$(INSTALL_SCRIPT) $(srcdir)/Modules/makexp_aix \
14221422
$(DESTDIR)$(LIBPL)/makexp_aix; \
14231423
echo "$(LIBPL)/makexp_aix"; \
1424-
$(INSTALL_SCRIPT) $(srcdir)/Modules/ld_so_aix \
1424+
$(INSTALL_SCRIPT) Modules/ld_so_aix \
14251425
$(DESTDIR)$(LIBPL)/ld_so_aix; \
14261426
echo "$(LIBPL)/ld_so_aix"; \
14271427
echo; echo "See Misc/AIX-NOTES for details."; \

Misc/ACKS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ Arnaud Calmettes
227227
Daniel Calvelo
228228
Tony Campbell
229229
Brett Cannon
230+
Tristan Carel
230231
Mike Carlton
231232
Pierre Carrier
232233
Terry Carroll
@@ -582,6 +583,7 @@ Travis B. Hartwell
582583
Larry Hastings
583584
Tim Hatch
584585
Shane Hathaway
586+
Michael Haubenwallner
585587
Janko Hauser
586588
Rycharde Hawkes
587589
Ben Hayden

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,9 @@ Documentation
425425
Build
426426
-----
427427

428+
- Issue #10656: Fix out-of-tree building on AIX. Patch by Tristan Carel and
429+
Michael Haubenwallner.
430+
428431
- Issue #26359: Rename --with-optimiations to --enable-optimizations.
429432

430433
- Issue #28444: Fix missing extensions modules when cross compiling.

Modules/ld_so_aix.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ if test ! -n "$*"; then
7070
fi
7171

7272
makexp=`dirname $0`/makexp_aix
73+
test -x "${makexp}" || makexp="@abs_srcdir@/makexp_aix"
7374

7475
# Check for existence of compiler.
7576
CC=$1; shift

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9165,7 +9165,7 @@ if test -z "$LDSHARED"
91659165
then
91669166
case $ac_sys_system/$ac_sys_release in
91679167
AIX*)
9168-
BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp"
9168+
BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
91699169
LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp"
91709170
;;
91719171
IRIX/5*) LDSHARED="ld -shared";;

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ if test -z "$LDSHARED"
24092409
then
24102410
case $ac_sys_system/$ac_sys_release in
24112411
AIX*)
2412-
BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp"
2412+
BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
24132413
LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp"
24142414
;;
24152415
IRIX/5*) LDSHARED="ld -shared";;

0 commit comments

Comments
 (0)