From 92f76302fa249713ca461e5fe7fa8ea51467b2a3 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 25 Mar 2014 12:28:05 -0400 Subject: [PATCH] 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 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.2