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.13.4-final~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54aee085cb8e75a058aff6b21dd3ccc8ee04919b;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. (cherry picked from commit 5568d31f45fb78f505340a5b520b22d4dd3f6522) ticket: 8326 version_fixed: 1.13.4 tags: -pullup status: resolved --- 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