summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-05-21 16:08:17 +0000
committerUlrich Drepper <drepper@redhat.com>1997-05-21 16:08:17 +0000
commit079f7c691f73009829dc8f36c0a737919fe93aaf (patch)
tree21e48ff4005c569f1da545e771653e3ba82ea88c /db
parent00b97dc29c466d7d4462a81cd7de975bb80639d3 (diff)
Depend on libc.so for dynamic loading and for Linux ld.so.
Diffstat (limited to 'db')
-rw-r--r--db/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/Makefile b/db/Makefile
index 0ed798b6cf..331c8b1d74 100644
--- a/db/Makefile
+++ b/db/Makefile
@@ -45,3 +45,8 @@ $(objpfx)makedb: $(objpfx)libdb.so$(libdb.so-version)
else
$(objpfx)makedb: $(objpfx)libdb.a
endif
+
+# Depend on libc.so so a DT_NEEDED is generated in the shared objects.
+# This ensures they will load libc.so for needed symbols if loaded by
+# a statically-linked program that hasn't already loaded it.
+$(objpfx)libdb.so: $(common-objpfx)libc.so