krb5 commit [krb5-1.14]: Add libkrb5support dependencies to test plugins
Tom Yu
tlyu at mit.edu
Thu Dec 17 15:44:19 EST 2015
https://github.com/krb5/krb5/commit/5e3902de9753bb86488ee04abc886a3d51261653
commit 5e3902de9753bb86488ee04abc886a3d51261653
Author: Greg Hudson <ghudson at mit.edu>
Date: Fri Dec 11 11:05:32 2015 -0500
Add libkrb5support dependencies to test plugins
In some build environments, dependencies on libkrb5support can be
generated just from static inline functions in our header files, even
if those functions aren't used. In two test plugin modules, use
$(KRB5_BASE_DEPLIBS) and $(KRB5_BASE_LIBS) to depend on libkrb5support
as well as libkrb5. (This also pulls in libk5crypto, which is
unnecessary for these modules, but is inconsequential for a test
module.) Reported by Will Fiveash.
(cherry picked from commit 5568d31f45fb78f505340a5b520b22d4dd3f6522)
ticket: 8326
version_fixed: 1.14.1
src/plugins/hostrealm/test/Makefile.in | 6 +++---
src/plugins/pwqual/test/Makefile.in | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/plugins/hostrealm/test/Makefile.in b/src/plugins/hostrealm/test/Makefile.in
index 2d9c38e..d0acc3b 100644
--- a/src/plugins/hostrealm/test/Makefile.in
+++ b/src/plugins/hostrealm/test/Makefile.in
@@ -5,9 +5,9 @@ LIBBASE=hostrealm_test
LIBMAJOR=0
LIBMINOR=0
RELDIR=../plugins/hostrealm/test
-# Depends on libkrb5
-SHLIB_EXPDEPS= $(KRB5_DEPLIB)
-SHLIB_EXPLIBS= $(KRB5_LIB)
+# Depends on libkrb5 and possibly libkrb5support
+SHLIB_EXPDEPS= $(KRB5_BASE_DEPLIBS)
+SHLIB_EXPLIBS= $(KRB5_BASE_LIBS)
STLIBOBJS=main.o
diff --git a/src/plugins/pwqual/test/Makefile.in b/src/plugins/pwqual/test/Makefile.in
index d8717b3..39da500 100644
--- a/src/plugins/pwqual/test/Makefile.in
+++ b/src/plugins/pwqual/test/Makefile.in
@@ -5,9 +5,9 @@ LIBBASE=pwqual_test
LIBMAJOR=0
LIBMINOR=0
RELDIR=../plugins/pwqual/test
-# Depends on libkrb5
-SHLIB_EXPDEPS= $(KRB5_DEPLIB)
-SHLIB_EXPLIBS= $(KRB5_LIB)
+# Depends on libkrb5 and possibly libkrb5support
+SHLIB_EXPDEPS= $(KRB5_BASE_DEPLIBS)
+SHLIB_EXPLIBS= $(KRB5_BASE_LIBS)
STLIBOBJS=main.o
More information about the cvs-krb5
mailing list