about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-24 09:00:06 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-24 09:00:06 +0000
commit4f8aae02ae47f1bc2bc63d8e67c01e4e971c1b18 (patch)
tree7d78376f4f08528a83879b1270ffd29e4658c538
parent8641aa177870be6ea2ab037a23b3967128f5c6a2 (diff)
downloadglibc-4f8aae02ae47f1bc2bc63d8e67c01e4e971c1b18.tar.gz
glibc-4f8aae02ae47f1bc2bc63d8e67c01e4e971c1b18.tar.xz
glibc-4f8aae02ae47f1bc2bc63d8e67c01e4e971c1b18.zip
Add definition of _dl_library_path for static binaries.
-rw-r--r--elf/dl-support.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf/dl-support.c b/elf/dl-support.c
index 3620ebe4bc..4e0e5c1dad 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -32,6 +32,9 @@ char **_dl_argv = &__progname;	/* This is checked for some error messages.  */
 /* This defines the default search path for libraries.
    For the dynamic linker it is set by -rpath when linking.  */
 const char *_dl_rpath = DEFAULT_RPATH;
+
+/* The search path for dynamic libraries.  */
+const char *_dl_library_path;
 
 #ifndef MAP_ANON
 /* This is the only dl-sysdep.c function that is actually needed at run-time