From: Greg Hudson Date: Tue, 25 Mar 2014 16:28:05 +0000 (-0400) Subject: Fix t_seqstate build with Solaris compiler X-Git-Tag: krb5-1.13-alpha1~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92f76302fa249713ca461e5fe7fa8ea51467b2a3;p=thirdparty%2Fkrb5.git 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 --- diff --git a/src/lib/gssapi/generic/Makefile.in b/src/lib/gssapi/generic/Makefile.in index 530a0a96e6..c8681fb662 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