From b6e3fffca418c07bc36e4fc8b2c576abb90766ff Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 24 Jan 2003 16:28:09 +0000 Subject: Support having libs in /usr/X11R6/lib by default as well --- ldso/ldso/dl-elf.c | 1 + ldso/ldso/readelflib1.c | 1 + 2 files changed, 2 insertions(+) (limited to 'ldso') diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c index 62c84679c..cc65c109b 100644 --- a/ldso/ldso/dl-elf.c +++ b/ldso/ldso/dl-elf.c @@ -282,6 +282,7 @@ struct elf_resolve *_dl_load_shared_library(int secure, struct dyn_elf **rpnt, if(_dl_debug) _dl_dprintf(_dl_debug_file, "searching full lib path list\n"); #endif if ((tpnt1 = search_for_named_library(libname, secure, + UCLIBC_TARGET_PREFIX "/usr/X11R6/lib:" UCLIBC_TARGET_PREFIX "/usr/lib:" UCLIBC_TARGET_PREFIX "/lib:" UCLIBC_DEVEL_PREFIX "/lib:" diff --git a/ldso/ldso/readelflib1.c b/ldso/ldso/readelflib1.c index 62c84679c..cc65c109b 100644 --- a/ldso/ldso/readelflib1.c +++ b/ldso/ldso/readelflib1.c @@ -282,6 +282,7 @@ struct elf_resolve *_dl_load_shared_library(int secure, struct dyn_elf **rpnt, if(_dl_debug) _dl_dprintf(_dl_debug_file, "searching full lib path list\n"); #endif if ((tpnt1 = search_for_named_library(libname, secure, + UCLIBC_TARGET_PREFIX "/usr/X11R6/lib:" UCLIBC_TARGET_PREFIX "/usr/lib:" UCLIBC_TARGET_PREFIX "/lib:" UCLIBC_DEVEL_PREFIX "/lib:" -- cgit v1.2.3