[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: fix DT_RUNPATH detection code again
From: |
Ralf Wildenhues |
Subject: |
FYI: fix DT_RUNPATH detection code again |
Date: |
Sat, 17 Feb 2007 16:14:41 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Sigh, I don't know what I was thinking when I wrote this.
Trying the Sun CC compiler (where $wl contains two words)
made the glitch obvious, by outputting an ugly error during
configure.
Applied to HEAD, does not exist in branch-1-5.
Cheers,
Ralf
2007-02-17 Ralf Wildenhues <address@hidden>
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux |
k*bsd*-gnu ]: Fix eval quoting in the DT_RUNPATH test.
Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.95
diff -u -r1.95 libtool.m4
--- libltdl/m4/libtool.m4 17 Feb 2007 08:22:59 -0000 1.95
+++ libltdl/m4/libtool.m4 17 Feb 2007 15:13:51 -0000
@@ -2316,8 +2316,8 @@
# 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])])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: fix DT_RUNPATH detection code again,
Ralf Wildenhues <=