summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2003-08-17 07:49:11 +0000
committergordon <gordon@FreeBSD.org>2003-08-17 07:49:11 +0000
commitc1020619704ccc41710cd2b568e9b1c9bfee15d6 (patch)
tree5845b5812d34836b1235d36721165dde7f8188f5
parentb61d535c67c03fb6afa693f2516782ea1f80b86c (diff)
downloadFreeBSD-src-c1020619704ccc41710cd2b568e9b1c9bfee15d6.zip
FreeBSD-src-c1020619704ccc41710cd2b568e9b1c9bfee15d6.tar.gz
Prepend /lib to the search order for libraries.
-rwxr-xr-xetc/rc.d/ldconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/ldconfig b/etc/rc.d/ldconfig
index 9aa7a64..ac096da 100755
--- a/etc/rc.d/ldconfig
+++ b/etc/rc.d/ldconfig
@@ -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}"
OpenPOWER on IntegriCloud