From b4debac9ccfc9955c638f48299357d9576ae8905 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 9 Mar 1998 00:01:13 +0000 Subject: [PATCH] Update. * elf/dl-support.c (non_dynamic_init): Pass return value of getenv ("LD_LIBRARY_PATH") to _dl_init_paths. --- ChangeLog | 2 ++ elf/dl-support.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9ee2357..41c5dd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/elf/dl-support.c b/elf/dl-support.c index 9d28d2b..29a16d2 100644 --- a/elf/dl-support.c +++ b/elf/dl-support.c @@ -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; -- 2.7.4