diff options
Diffstat (limited to 'db/Makefile')
-rw-r--r-- | db/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/db/Makefile b/db/Makefile index 9613c2e..37dc282 100644 --- a/db/Makefile +++ b/db/Makefile @@ -39,4 +39,8 @@ CFLAGS-hash_func.c := -Wno-unused # The db code outsmarts the compiler frequently. override CFLAGS += -Wno-uninitialized -LDLIBS-makedb := db/libdb +ifeq ($(build_shared),yes) +$(objpfx)makedb: $(objpfx)libdb.so$(libdb.so-version) +else +$(objpfx)makedb: $(objpfx)libdb.a +endif |