#941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou.
diff --git a/configure.in b/configure.in
index 419a93c..d4d33b5 100644
--- a/configure.in
+++ b/configure.in
@@ -1642,7 +1642,7 @@
 then
 	case $ac_sys_system/$ac_sys_release in
 	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"
 		;;
 	IRIX/5*) LDSHARED="ld -shared";;