diff --git a/configure.in b/configure.in index 7d000bf54d4..616851ab685 100644 --- a/configure.in +++ b/configure.in @@ -213,7 +213,7 @@ AC_MSG_CHECKING(LINKFORSHARED) if test -z "$LINKFORSHARED" then case $ac_sys_system/$ac_sys_release in - AIX*) LINKFORSHARED="-Wl,-bE:python.exp -lld";; + AIX*) LINKFORSHARED='-Wl,-bE:$(srcdir)/python.exp -lld';; hp*|HP*) LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/sharedmodules";; Linux*) LINKFORSHARED="-rdynamic";;