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

Skip to content

Commit 395733d

Browse files
committed
Issue #10656: Fix out-of-tree building on AIX
The ld_so_aix script and python.exp file are created in the build directory. Patch by Tristan Carel and Michael Haubenwallner.
1 parent 1016b2f commit 395733d

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
@@ -1418,7 +1418,7 @@ libainstall: all python-config
14181418
$(INSTALL_SCRIPT) $(srcdir)/Modules/makexp_aix \
14191419
$(DESTDIR)$(LIBPL)/makexp_aix; \
14201420
echo "$(LIBPL)/makexp_aix"; \
1421-
$(INSTALL_SCRIPT) $(srcdir)/Modules/ld_so_aix \
1421+
$(INSTALL_SCRIPT) Modules/ld_so_aix \
14221422
$(DESTDIR)$(LIBPL)/ld_so_aix; \
14231423
echo "$(LIBPL)/ld_so_aix"; \
14241424
echo; echo "See Misc/AIX-NOTES for details."; \

Misc/ACKS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ Arnaud Calmettes
225225
Daniel Calvelo
226226
Tony Campbell
227227
Brett Cannon
228+
Tristan Carel
228229
Mike Carlton
229230
Pierre Carrier
230231
Terry Carroll
@@ -573,6 +574,7 @@ Travis B. Hartwell
573574
Larry Hastings
574575
Tim Hatch
575576
Shane Hathaway
577+
Michael Haubenwallner
576578
Janko Hauser
577579
Rycharde Hawkes
578580
Ben Hayden

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,9 @@ Windows
555555
Build
556556
-----
557557

558+
- Issue #10656: Fix out-of-tree building on AIX. Patch by Tristan Carel and
559+
Michael Haubenwallner.
560+
558561
- Issue #26359: Rename --with-optimiations to --enable-optimizations.
559562

560563
- 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
@@ -9226,7 +9226,7 @@ if test -z "$LDSHARED"
92269226
then
92279227
case $ac_sys_system/$ac_sys_release in
92289228
AIX*)
9229-
BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp"
9229+
BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
92309230
LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp"
92319231
;;
92329232
IRIX/5*) LDSHARED="ld -shared";;

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2358,7 +2358,7 @@ if test -z "$LDSHARED"
23582358
then
23592359
case $ac_sys_system/$ac_sys_release in
23602360
AIX*)
2361-
BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp"
2361+
BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
23622362
LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp"
23632363
;;
23642364
IRIX/5*) LDSHARED="ld -shared";;

0 commit comments

Comments
 (0)