diff options
Diffstat (limited to 'db/Makefile')
-rw-r--r-- | db/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/Makefile b/db/Makefile index 0ed798b..331c8b1 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 |