summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-24 16:28:09 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-24 16:28:09 +0000
commitb6e3fffca418c07bc36e4fc8b2c576abb90766ff (patch)
tree6cd7df641203d81d8788e58523642d375208396a /ldso
parent2c35b786bf18beaace7f6bd12007ac6759754cef (diff)
Support having libs in /usr/X11R6/lib by default as well
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/dl-elf.c1
-rw-r--r--ldso/ldso/readelflib1.c1
2 files changed, 2 insertions, 0 deletions
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:"