diff -Naur plt-370/src/configure plt-370-fix-libtool-use/src/configure --- plt-370/src/configure 2007-04-29 04:08:24.000000000 +0200 +++ plt-370-fix-libtool-use/src/configure 2007-06-19 19:10:18.000000000 +0200 @@ -11172,12 +11172,12 @@ plt_lib_version=`grep " MZSCHEME_VERSION " ${srcdir}/mzscheme/src/schvers.h | cut -d '"' -f 2` fi - AR="${LIBTOOLPROG} --mode=link $CC${need_gcc_static_libgcc}${ar_libtool_no_undefined} -release ${plt_lib_version} -rpath ${absprefix}/lib -o" + AR="${LIBTOOLPROG} --mode=link $CC${need_gcc_static_libgcc}${ar_libtool_no_undefined} -release ${plt_lib_version} -rpath $libdir -o" STATIC_AR="${LIBTOOLPROG} --mode=link $CC -o" ARFLAGS="" RANLIB=":" - MZLINKER="${LIBTOOLPROG} --mode=link $CC${need_gcc_static_libgcc} -rpath ${absprefix}/lib" - MREDLINKER="${LIBTOOLPROG} --mode=link $CXX${need_gcc_static_libgcc} -rpath ${absprefix}/lib" + MZLINKER="${LIBTOOLPROG} --mode=link $CC${need_gcc_static_libgcc} -rpath $libdir" + MREDLINKER="${LIBTOOLPROG} --mode=link $CXX${need_gcc_static_libgcc} -rpath $libdir" PLAIN_CC="$CC" CC="${LIBTOOLPROG} --mode=compile $CC" CXX="${LIBTOOLPROG} --mode=compile $CXX"