diff -r 89873f3b18fd Makefile.pre.in --- a/Makefile.pre.in Wed Nov 06 20:25:50 2013 -0800 +++ b/Makefile.pre.in Thu Nov 07 08:56:12 2013 +0100 @@ -1289,7 +1289,7 @@ $(INSTALL_SCRIPT) $(srcdir)/Modules/makexp_aix \ $(DESTDIR)$(LIBPL)/makexp_aix; \ echo "$(LIBPL)/makexp_aix"; \ - $(INSTALL_SCRIPT) $(srcdir)/Modules/ld_so_aix \ + $(INSTALL_SCRIPT) $(abs_builddir)/Modules/ld_so_aix \ $(DESTDIR)$(LIBPL)/ld_so_aix; \ echo "$(LIBPL)/ld_so_aix"; \ echo; echo "See Misc/AIX-NOTES for details."; \ diff -r 89873f3b18fd Modules/ld_so_aix.in --- a/Modules/ld_so_aix.in Wed Nov 06 20:25:50 2013 -0800 +++ b/Modules/ld_so_aix.in Thu Nov 07 08:56:12 2013 +0100 @@ -70,6 +70,7 @@ fi makexp=`dirname $0`/makexp_aix +test -x "${makexp}" || makexp="@abs_srcdir@/makexp_aix" # Check for existence of compiler. CC=$1; shift diff -r 89873f3b18fd configure.ac --- a/configure.ac Wed Nov 06 20:25:50 2013 -0800 +++ b/configure.ac Thu Nov 07 08:56:12 2013 +0100 @@ -1943,7 +1943,7 @@ then case $ac_sys_system/$ac_sys_release in AIX*) - BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp" + BLDSHARED="\$(abs_builddir)/Modules/ld_so_aix \$(CC) -bI:\$(abs_builddir)/Modules/python.exp" LDSHARED="\$(BINLIBDEST)/config/ld_so_aix \$(CC) -bI:\$(BINLIBDEST)/config/python.exp" ;; IRIX/5*) LDSHARED="ld -shared";;