Page MenuHomeFreeBSD

D42557.id129989.diff
No OneTemporary

D42557.id129989.diff

diff --git a/libexec/rc/rc.d/ldconfig b/libexec/rc/rc.d/ldconfig
--- a/libexec/rc/rc.d/ldconfig
+++ b/libexec/rc/rc.d/ldconfig
@@ -22,7 +22,7 @@
ldconfig=${ldconfig_command}
checkyesno ldconfig_insecure && _ins="-i"
if [ -x "${ldconfig_command}" ]; then
- _LDC="/lib /usr/lib"
+ _LDC=`/libexec/ld-elf.so.1 -v | sed -n -e '/^Default lib path /s///p' | tr : ' '`
for i in ${ldconfig_local_dirs}; do
if [ -d "${i}" ]; then
_files=`find ${i} -type f`
@@ -51,7 +51,7 @@
fi
fi
done
- _LDC=""
+ _LDC=`/libexec/ld-elf32.so.1 -v | sed -n -e '/^Default lib path /s///p' | tr : ' '`
for i in ${ldconfig32_paths}; do
if [ -r "${i}" ]; then
_LDC="${_LDC} ${i}"

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 2:34 AM (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14708882
Default Alt Text
D42557.id129989.diff (703 B)

Event Timeline