From: Ralf Wildenhues Date: Sat, 17 Feb 2007 15:15:23 +0000 (+0000) Subject: * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux | X-Git-Tag: release-2-1b~189 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1fb049828ee0e889434d4a17e5b2613650acb058;p=thirdparty%2Flibtool.git * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux | k*bsd*-gnu ]: Fix eval quoting in the DT_RUNPATH test. --- diff --git a/ChangeLog b/ChangeLog index 2a21bc6bc..051d4a58e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-02-17 Ralf Wildenhues + * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux | + k*bsd*-gnu ]: Fix eval quoting in the DT_RUNPATH test. + * HACKING: Update. * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ linux ] diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index ea7287461..9644c4f41 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -2316,8 +2316,8 @@ linux* | k*bsd*-gnu) # Some binutils ld are patched to set DT_RUNPATH save_LDFLAGS=$LDFLAGS save_libdir=$libdir - eval libdir=/foo wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) \ - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\" + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"], [shlibpath_overrides_runpath=yes])])