mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-15 06:49:57 +08:00
* libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: While "parsing"
/etc/ld.so.conf, skip comments. Reported by Jens Elkner <elkner@linofee.org>.
This commit is contained in:
parent
f420fbd97f
commit
1f7dbb99eb
@ -1,3 +1,9 @@
|
||||
2005-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* 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 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* libltdl/libltdl/lt__glibc.h: Move all exported slist
|
||||
|
2
m4/libtool.m4
vendored
2
m4/libtool.m4
vendored
@ -1987,7 +1987,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user