]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux |
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 17 Feb 2007 15:15:23 +0000 (15:15 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 17 Feb 2007 15:15:23 +0000 (15:15 +0000)
k*bsd*-gnu ]: Fix eval quoting in the DT_RUNPATH test.

ChangeLog
libltdl/m4/libtool.m4

index 2a21bc6bc9a9d0e80fe8d8a6cef128c472761ae3..051d4a58e641e31304c3558fff15fd1e30604bde 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-02-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * 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 ]
index ea72874613411247a912a5309958ddc5e24325d2..9644c4f4154390ebfc709704c82a173dca1fea17 100644 (file)
@@ -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])])