krb5 commit: Fix t_seqstate build with Solaris compiler

Greg Hudson ghudson at MIT.EDU
Fri Mar 28 12:01:40 EDT 2014


https://github.com/krb5/krb5/commit/92f76302fa249713ca461e5fe7fa8ea51467b2a3
commit 92f76302fa249713ca461e5fe7fa8ea51467b2a3
Author: Greg Hudson <ghudson at mit.edu>
Date:   Tue Mar 25 12:28:05 2014 -0400

    Fix t_seqstate build with Solaris compiler
    
    The Solaris native compiler (as of version 5.9) outputs code for
    static inline functions even if they are not used.  So the
    k5buf_to_gss helper in gssapiP_generic.h causes t_seqstate to have a
    dependency on libkrb5support.
    
    ticket: 7872

 src/lib/gssapi/generic/Makefile.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lib/gssapi/generic/Makefile.in b/src/lib/gssapi/generic/Makefile.in
index 530a0a9..c8681fb 100644
--- a/src/lib/gssapi/generic/Makefile.in
+++ b/src/lib/gssapi/generic/Makefile.in
@@ -146,8 +146,9 @@ clean-windows::
 	$(RM) $(HDRS) maptest.h
 	-if exist $(EHDRDIR)\nul rmdir $(EHDRDIR)
 
-t_seqstate: t_seqstate.o util_seqstate.o
-	$(CC_LINK) $(ALL_CFLAGS) -o $@ t_seqstate.o util_seqstate.o
+t_seqstate: t_seqstate.o util_seqstate.o $(SUPPORT_DEPLIB)
+	$(CC_LINK) $(ALL_CFLAGS) -o $@ t_seqstate.o util_seqstate.o \
+		$(SUPPORT_LIB)
 
 check-unix:: t_seqstate
 	$(RUN_SETUP) $(VALGRIND) ./t_seqstate


More information about the cvs-krb5 mailing list