* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux |

k*bsd*-gnu ]: Fix eval quoting in the DT_RUNPATH test.
This commit is contained in:
Ralf Wildenhues 2007-02-17 15:15:23 +00:00
parent d4bb0fbc14
commit 1fb049828e
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2007-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 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. * HACKING: Update.
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ linux ] * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ linux ]

View File

@ -2316,8 +2316,8 @@ linux* | k*bsd*-gnu)
# Some binutils ld are patched to set DT_RUNPATH # Some binutils ld are patched to set DT_RUNPATH
save_LDFLAGS=$LDFLAGS save_LDFLAGS=$LDFLAGS
save_libdir=$libdir save_libdir=$libdir
eval libdir=/foo wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) \ eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\" LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
[AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"],
[shlibpath_overrides_runpath=yes])]) [shlibpath_overrides_runpath=yes])])