From 6e77b78fac6c9acf913640b14538f69750644225 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 23 Jul 1996 15:11:46 +0000 Subject: [PATCH] * Makefile.in: libkdb5.so needs to be built with libcrypto and libkrb5. * configure.in: Pass version numbers of teh crypto and krb5 shared libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8780 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kdb/ChangeLog | 8 ++++++++ src/lib/kdb/Makefile.in | 11 +++++++++++ src/lib/kdb/configure.in | 4 ++++ 3 files changed, 23 insertions(+) diff --git a/src/lib/kdb/ChangeLog b/src/lib/kdb/ChangeLog index 4e5440cc9..aac1b5a1e 100644 --- a/src/lib/kdb/ChangeLog +++ b/src/lib/kdb/ChangeLog @@ -1,3 +1,11 @@ +Tue Jul 23 11:09:08 1996 Ezra Peisach + + * Makefile.in: libkdb5.so needs to be built with + libcrypto and libkrb5. + + * configure.in: Pass version numbers of teh crypto and krb5 shared + libraries. + Fri Jul 12 15:32:26 1996 Marc Horowitz * kdb_cpw.c (add_key_pwd): initialize retval = 0, in case the diff --git a/src/lib/kdb/Makefile.in b/src/lib/kdb/Makefile.in index ba683222a..0451b37ea 100644 --- a/src/lib/kdb/Makefile.in +++ b/src/lib/kdb/Makefile.in @@ -1,6 +1,17 @@ CFLAGS = $(CCOPTS) $(DEFS) KRB5_RUN_ENV = @KRB5_RUN_ENV@ +KRB5_VER=@KRB5_SH_VERS@ +CRYPTO_VER=@CRYPTO_SH_VERS@ +DEPLIBS=$(TOPLIBD)/libkrb5.$(SHEXT).$(KRB5_VER) \ + $(TOPLIBD)/libcrypto.$(SHEXT).$(CRYPTO_VER) + +SHLIB_LIBS=-lkrb5 -lcrypto +SHLIB_LDFLAGS= $(LDFLAGS) @SHLIB_RPATH_DIRS@ +SHLIB_LIBDIRS= @SHLIB_LIBDIRS@ + + + all:: $(OBJS) .c.o: diff --git a/src/lib/kdb/configure.in b/src/lib/kdb/configure.in index e480603e4..0c12c7d5d 100644 --- a/src/lib/kdb/configure.in +++ b/src/lib/kdb/configure.in @@ -14,4 +14,8 @@ V5_MAKE_SHARED_LIB(libkdb5,0.1,.., ./kdb) LinkFileDir(../libkdb5.a, libkdb5.a, ./kdb) AppendRule([all:: libkdb5.a]) AppendRule([all-unix:: ../libkdb5.a]) +KRB5_SH_VERS=$krb5_cv_shlib_version_libkrb5 +AC_SUBST(KRB5_SH_VERS) +CRYPTO_SH_VERS=$krb5_cv_shlib_version_libcrypto +AC_SUBST(CRYPTO_SH_VERS) V5_AC_OUTPUT_MAKEFILE -- 2.26.2