]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Add libkrb5support dependencies to test plugins
authorGreg Hudson <ghudson@mit.edu>
Fri, 11 Dec 2015 16:05:32 +0000 (11:05 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 16 Dec 2015 17:55:55 +0000 (12:55 -0500)
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

src/plugins/hostrealm/test/Makefile.in
src/plugins/pwqual/test/Makefile.in

index 2d9c38e32a0bd1d83c89c0bcea636acc1b9bfb80..d0acc3b272687415d5c8dfa878f2c8ba32770e7c 100644 (file)
@@ -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
 
index d8717b34adbc11cd44594ff31a30137ff26e3701..39da5001565c794f57d83be638edf1d38c2ca6eb 100644 (file)
@@ -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