Browse Source

Support having libs in /usr/X11R6/lib by default as well

Eric Andersen 21 years ago
parent
commit
b6e3fffca4
2 changed files with 2 additions and 0 deletions
  1. 1 0
      ldso/ldso/dl-elf.c
  2. 1 0
      ldso/ldso/readelflib1.c

+ 1 - 0
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:"

+ 1 - 0
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:"