* elf/dl-support.c (non_dynamic_init): Pass return value of getenv
	("LD_LIBRARY_PATH") to _dl_init_paths.
This commit is contained in:
Ulrich Drepper 1998-03-09 00:01:13 +00:00
parent 120b4c4986
commit b4debac9cc
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@
calling getenv.
* elf/dl-load.c (_dl_init_paths): Don't call getenv to get
LD_LIBRARY_PATH value, this comes with the parameter.
* elf/dl-support.c (non_dynamic_init): Pass return value of getenv
("LD_LIBRARY_PATH") to _dl_init_paths.
1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>

View File

@ -59,7 +59,7 @@ non_dynamic_init (void)
/* Initialize the data structures for the search paths for shared
objects. */
_dl_init_paths (NULL);
_dl_init_paths (getenv ("LD_LIBRARY_PATH"));
#ifdef DL_PLATFORM_INIT
DL_PLATFORM_INIT;