about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/Makefile b/db/Makefile
index 2d742d133a..e9817e2f89 100644
--- a/db/Makefile
+++ b/db/Makefile
@@ -53,11 +53,11 @@ endif
 $(objpfx)libdb.so: $(common-objpfx)libc.so
 
 subdir_install: $(inst_libdir)/libndbm.a
-$(inst_libdir)/libndbm.a: $(inst_libdir)/libdb.a
+$(inst_libdir)/libndbm.a: $(inst_libdir)/libdb.a $(+force)
 	$(make-link)
 
 ifeq ($(build-shared),yes)
 subdir_install: $(inst_libdir)/libndbm.so
-$(inst_libdir)/libndbm.so: $(inst_libdir)/libdb.so
+$(inst_libdir)/libndbm.so: $(inst_libdir)/libdb.so $(+force)
 	$(make-link)
 endif