From: Greg Hudson Date: Fri, 11 Dec 2015 16:05:32 +0000 (-0500) Subject: Add libkrb5support dependencies to test plugins X-Git-Tag: krb5-1.15-beta1~313 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5568d31f45fb78f505340a5b520b22d4dd3f6522;p=thirdparty%2Fkrb5.git 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. ticket: 8326 target_version: 1.14-next tags: pullup --- diff --git a/src/plugins/hostrealm/test/Makefile.in b/src/plugins/hostrealm/test/Makefile.in index 2d9c38e32a..d0acc3b272 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 d8717b34ad..39da500156 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