aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2003-08-17 07:55:17 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2003-08-17 07:55:17 +0000
commit7b73593acd1182f8cef4609a1124de5c06cf6fd6 (patch)
tree0275b22e76e487e530a4f40b84581259944d5177 /libexec
parent0b0c94741a6a36fc0b9ecb6f8129c9d818083ef0 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/rtld.c2
-rw-r--r--libexec/rtld-elf/rtld.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
index 484cd8d90e32..5fc03b07b02a 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -807,7 +807,7 @@ elf_hash(const char *name)
* rpath in the referencing file
* LD_LIBRARY_PATH
* ldconfig hints
- * /usr/lib
+ * /lib:/usr/lib
*/
static char *
find_library(const char *xname, const Obj_Entry *refobj)
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h
index dd793bb927be..86df99dfbc23 100644
--- a/libexec/rtld-elf/rtld.h
+++ b/libexec/rtld-elf/rtld.h
@@ -40,7 +40,7 @@
#include "rtld_machdep.h"
#ifndef STANDARD_LIBRARY_PATH
-#define STANDARD_LIBRARY_PATH "/usr/lib"
+#define STANDARD_LIBRARY_PATH "/lib:/usr/lib"
#endif
#define NEW(type) ((type *) xmalloc(sizeof(type)))