summaryrefslogtreecommitdiff
path: root/elf/dl-load.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-11-16 02:37:06 +0000
committerRoland McGrath <roland@gnu.org>1995-11-16 02:37:06 +0000
commit8738e7f8b0c6d6254a31450dc528bddc8bdae0f7 (patch)
tree5e7e75d0e75996d699cfdeb09575a4fcb6e57c59 /elf/dl-load.c
parentec967c06ac7474fa58266ea309d6488ee3c53851 (diff)
* elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is nocvs/libc-951116
error if weak. * elf/Makefile (default-rpath): New variable. (CPPFLAGS): Append -DDEFAULT_RPATH=.... * elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of hard-coded "/lib:/usr/lib".
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r--elf/dl-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index b70ba5590a..126d6aab5c 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -139,7 +139,7 @@ _dl_map_object (struct link_map *loader, const char *name)
if (fd == -1 && ! _dl_secure)
trypath (getenv ("LD_LIBRARY_PATH"));
if (fd == -1)
- trypath ("/lib:/usr/lib");
+ trypath (DEFAULT_RPATH);
}
else
{