mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
elf: Record whether paths come from LD_LIBRARY_PATH or --library-path
This allows more precise LD_DEBUG diagnostics. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@@ -323,7 +323,7 @@ _dl_non_dynamic_init (void)
|
||||
|
||||
/* Initialize the data structures for the search paths for shared
|
||||
objects. */
|
||||
_dl_init_paths (getenv ("LD_LIBRARY_PATH"));
|
||||
_dl_init_paths (getenv ("LD_LIBRARY_PATH"), "LD_LIBRARY_PATH");
|
||||
|
||||
/* Remember the last search directory added at startup. */
|
||||
_dl_init_all_dirs = GL(dl_all_dirs);
|
||||
|
||||
Reference in New Issue
Block a user