libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: HEAD: avoid bogus output of runpath test


From: Ralf Wildenhues
Subject: FYI: HEAD: avoid bogus output of runpath test
Date: Sat, 18 Aug 2007 11:18:28 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

I've applied this rather obvious patch to HEAD.

There is still a problem related to shlibpath_overrides_runpath on
GNU/Linux on ppc64 with a GNU ld that sets DT_RUNPATH which I haven't 
analyzed yet; it is failing some tests, because uninstalled libs are not
found correctly.

Cheers,
Ralf

2007-08-18  Ralf Wildenhues  <address@hidden>

        * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
        [ k*bsd*-gnu ] <shlibpath_overrides_runpath>: Avoid spurious
        output in runpath test.

Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.115
diff -u -r1.115 libtool.m4
--- libltdl/m4/libtool.m4       16 Aug 2007 18:22:03 -0000      1.115
+++ libltdl/m4/libtool.m4       17 Aug 2007 08:41:55 -0000
@@ -2330,7 +2330,7 @@
   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"],
+    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep 
"RUNPATH.*$libdir" >/dev/null],
        [shlibpath_overrides_runpath=yes])])
   LDFLAGS=$save_LDFLAGS
   libdir=$save_libdir




reply via email to

[Prev in Thread] Current Thread [Next in Thread]