diff options
author | gordon <gordon@FreeBSD.org> | 2003-08-17 07:55:17 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2003-08-17 07:55:17 +0000 |
commit | 9c31ae18332f1e85ecb16a7e327a82c686ad6fe0 (patch) | |
tree | 0275b22e76e487e530a4f40b84581259944d5177 /libexec | |
parent | 2251e17fc39f39df47dded0cbd5f1506d9df6e9f (diff) | |
download | FreeBSD-src-9c31ae18332f1e85ecb16a7e327a82c686ad6fe0.zip FreeBSD-src-9c31ae18332f1e85ecb16a7e327a82c686ad6fe0.tar.gz |
Prepend /lib to the builtin library search path in rtld.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/rtld.c | 2 | ||||
-rw-r--r-- | libexec/rtld-elf/rtld.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 484cd8d..5fc03b0 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 dd793bb..86df99d 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))) |