about summary refs log tree commit diff
path: root/elf/dl-support.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-support.c')
-rw-r--r--elf/dl-support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-support.c b/elf/dl-support.c
index 9d28d2b640..29a16d2d5c 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;