summaryrefslogtreecommitdiff
path: root/ldso/util/readsoname.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-12 08:49:34 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-12 08:49:34 +0000
commit042768df2bb06227e4edf47e03985ec0dc907f66 (patch)
treebe0afedf60315a50e0f2f8dabc6a33923c8fa892 /ldso/util/readsoname.c
parentc5d758fb1422604d727814b4633c370d2ea7956a (diff)
Always build and install ldconfig
Diffstat (limited to 'ldso/util/readsoname.c')
-rw-r--r--ldso/util/readsoname.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ldso/util/readsoname.c b/ldso/util/readsoname.c
index 2b3f8353f..12c2428f2 100644
--- a/ldso/util/readsoname.c
+++ b/ldso/util/readsoname.c
@@ -7,8 +7,7 @@
#include <link.h>
#include <unistd.h>
#include <sys/types.h>
-#include "elf.h"
-#include "../config.h"
+#include <ld_elf.h>
#include "readsoname.h"
void warn(char *fmt, ...);
@@ -21,6 +20,9 @@ struct needed_tab
};
struct needed_tab needed_tab[] = {
+ { "libc.so.0", LIB_ELF_LIBC0 },
+ { "libm.so.0", LIB_ELF_LIBC0 },
+ { "libdl.so.0", LIB_ELF_LIBC0 },
{ "libc.so.5", LIB_ELF_LIBC5 },
{ "libm.so.5", LIB_ELF_LIBC5 },
{ "libdl.so.1", LIB_ELF_LIBC5 },