Fix Makefile so that t_kdb is linked correctly with the appropriate
authorTheodore Tso <tytso@mit.edu>
Fri, 23 Aug 1996 20:35:39 +0000 (20:35 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 23 Aug 1996 20:35:39 +0000 (20:35 +0000)
libraries.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8979 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kdb/ChangeLog
src/lib/kdb/Makefile.in
src/lib/kdb/configure.in

index 8f3e3776a6138e97d85324bee8cba344170acc26..3b961f336b3ac22f667e69cf0aa0b5ba5731c263 100644 (file)
@@ -1,3 +1,8 @@
+Fri Aug 23 16:34:45 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * Makefile.in (t_kdb): Fix Makefile so that t_kdb is linked
+               correctly with the appropriate libraries.
+
 Thu Aug 22 16:22:01 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * kdb_dbm.c: Remove vestigal code which was using BERK_DB_DBM
index 6167140be82efb56425f4bbc613bf8890fe622c6..d0700d16371a2e267d0adf9c9e226cfbeca2f572 100644 (file)
@@ -67,8 +67,8 @@ libkdb5.$(STEXT): $(OBJS)
 clean::
        $(RM) libkdb5.a DONE
 
-t_kdb: t_kdb.o $(DEPLIBS)
-       $(LD) $(LDFLAGS) $(LDARGS) -o t_kdb t_kdb.o $(LIBS)
+t_kdb: t_kdb.o $(DEPLIBS) $(OBJS) $(TOPLIBD)/libdb.a
+       $(LD) $(LDFLAGS) $(LDARGS) -o t_kdb t_kdb.o $(LIBS) $(OBJS) -ldb
 
 check::        t_kdb
        $(KRB5_RUN_ENV) ./t_kdb -tcv
index 67d18d5aee329509d93c3a4c68c733046cae8583..75c4e40c869a1678a17f5f6171e6b9e75048cb3f 100644 (file)
@@ -18,7 +18,6 @@ case $krb5_cv_host in
 esac
 KRB5_RUN_FLAGS
 V5_USE_SHARED_LIB
-USE_KDB5_LIBRARY
 KRB5_LIBRARIES
 V5_SHARED_LIB_OBJS
 V5_MAKE_SHARED_LIB(libkdb5,0.1,.., ./kdb)