Prepend /lib to the search order for libraries.

This commit is contained in:
Gordon Tetlow 2003-08-17 07:49:11 +00:00
parent 5a7528e7fa
commit a4e945c1f9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119011

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}"