if we are using db1 or db3 (really 3,4,5), when we will need LIB_db_create, otherwise use LIB_NDBM
This commit is contained in:
@@ -14,15 +14,18 @@ include_HEADERS = otp.h
|
||||
|
||||
lib_LTLIBRARIES = libotp.la
|
||||
libotp_la_LDFLAGS = -version-info 1:5:1
|
||||
libotp_la_LIBADD = $(LIB_hcrypto) $(LIB_roken) $(LIB_NDBM)
|
||||
libotp_la_LIBADD = $(LIB_hcrypto) $(LIB_roken)
|
||||
|
||||
if HAVE_DB1
|
||||
ndbm_wrap = ndbm_wrap.c ndbm_wrap.h
|
||||
libotp_la_LIBADD += $(LIB_db_create)
|
||||
else
|
||||
if HAVE_DB3
|
||||
ndbm_wrap = ndbm_wrap.c ndbm_wrap.h
|
||||
libotp_la_LIBADD += $(LIB_db_create)
|
||||
else
|
||||
ndbm_wrap =
|
||||
libotp_la_LIBADD += $(LIB_NDBM)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
Reference in New Issue
Block a user