]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: While "parsing"
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 12 Jan 2005 12:59:32 +0000 (12:59 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 12 Jan 2005 12:59:32 +0000 (12:59 +0000)
/etc/ld.so.conf, skip comments.
Reported by Jens Elkner <elkner@linofee.org>.

ChangeLog
m4/libtool.m4

index c6d04ed5960f1e75166da9a328c6e4ca4c6f0879..e651d5f88325dad89cd517769221b82df02f8e82 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: While "parsing"
+       /etc/ld.so.conf, skip comments.
+       Reported by Jens Elkner <elkner@linofee.org>.
+
 2005-01-10  Peter O'Gorman  <peter@pogma.com>
 
        * config/ltmain.m4sh (func_mode_link): Fix
index d66eaf0e3468d94702a9feef21110cf09060c5a0..5c6e3780ae3db898d171d6689945fbb30edd58b4 100644 (file)
@@ -1980,7 +1980,7 @@ linux*)
 
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' | tr '\n' ' '`
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi