Prepend /lib to the search order for libraries.

This commit is contained in:
gordon 2003-08-17 07:49:11 +00:00
parent b61d535c67
commit c102061970

View File

@ -24,7 +24,7 @@ ldconfig_start()
ldconfig=${ldconfig_command}
checkyesno ldconfig_insecure && _ins="-i"
if [ -x "${ldconfig_command}" ]; then
_LDC=/usr/lib
_LDC="/lib /usr/lib"
for i in ${ldconfig_paths} /etc/ld-elf.so.conf; do
if [ -r "${i}" ]; then
_LDC="${_LDC} ${i}"