--- configure | 4 ++++ m4/libtool.m4 | 4 ++++ 2 files changed, 8 insertions(+) --- configure +++ configure 2009-08-28 15:44:30.000000000 +0000 @@ -19830,6 +19830,10 @@ fi # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. + if test -n "$ARCH_LIB" ; then + sys_lib_search_path_spec="/usr/${ARCH_LIB} /${ARCH_LIB}" + sys_lib_dlsearch_path_spec="/usr/${ARCH_LIB} /${ARCH_LIB}" + fi dynamic_linker='GNU/Linux ld.so' ;; --- m4/libtool.m4 +++ m4/libtool.m4 2009-08-28 15:46:57.000000000 +0000 @@ -2681,6 +2681,10 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. + if test -n "$ARCH_LIB" ; then + sys_lib_search_path_spec="/usr/${ARCH_LIB} /${ARCH_LIB}" + sys_lib_dlsearch_path_spec="/usr/${ARCH_LIB} /${ARCH_LIB}" + fi dynamic_linker='GNU/Linux ld.so' ;;