diff options
-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))) |