(non_dynamic_init): Pass return value of getenv ("LD_LIBRARY_PATH") to
authordrepper <drepper>
Mon, 9 Mar 1998 00:00:06 +0000 (00:00 +0000)
committerdrepper <drepper>
Mon, 9 Mar 1998 00:00:06 +0000 (00:00 +0000)
_dl_init_paths.

elf/dl-support.c

index 9d28d2b..29a16d2 100644 (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;