diff options
| author | John Polstra <jdp@FreeBSD.org> | 2002-01-25 16:35:43 +0000 |
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 2002-01-25 16:35:43 +0000 |
| commit | a7dcaa3441d8d90afbc7e82d4bb56f0052acd615 (patch) | |
| tree | b586e0d7d333d6548267d3c2860c73749a1f2985 | |
| parent | 57813231df8feb055f88894f76ff464e06b7ebf9 (diff) | |
Notes
| -rw-r--r-- | libexec/rtld-elf/rtld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 94ea8fd7dfa0..defa4f813053 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -810,9 +810,9 @@ find_library(const char *name, const Obj_Entry *refobj) dbg(" Searching for \"%s\"", name); - if ((refobj != NULL && + if ((pathname = search_library_path(name, ld_library_path)) != NULL || + (refobj != NULL && (pathname = search_library_path(name, refobj->rpath)) != NULL) || - (pathname = search_library_path(name, ld_library_path)) != NULL || (pathname = search_library_path(name, gethints())) != NULL || (pathname = search_library_path(name, STANDARD_LIBRARY_PATH)) != NULL) return pathname; |
