about summary refs log tree commit diff
path: root/db2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'db2/Makefile')
-rw-r--r--db2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/db2/Makefile b/db2/Makefile
index 2d95bd715c..594b802861 100644
--- a/db2/Makefile
+++ b/db2/Makefile
@@ -112,11 +112,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