update from main archive 960906
authordrepper <drepper>
Sat, 7 Sep 1996 04:04:58 +0000 (04:04 +0000)
committerdrepper <drepper>
Sat, 7 Sep 1996 04:04:58 +0000 (04:04 +0000)
db/Makefile

index 9613c2e..37dc282 100644 (file)
@@ -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