summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2014-03-25 12:28:05 -0400
committerGreg Hudson <ghudson@mit.edu>2014-03-28 11:53:46 -0400
commit92f76302fa249713ca461e5fe7fa8ea51467b2a3 (patch)
tree570e8eda971ed184c158d74a938f932b9ddfadb0
parentb24c362f0589a6212f2f544263bdb76e0988c582 (diff)
downloadkrb5-92f76302fa249713ca461e5fe7fa8ea51467b2a3.tar.gz
krb5-92f76302fa249713ca461e5fe7fa8ea51467b2a3.tar.xz
krb5-92f76302fa249713ca461e5fe7fa8ea51467b2a3.zip
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
-rw-r--r--src/lib/gssapi/generic/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/gssapi/generic/Makefile.in b/src/lib/gssapi/generic/Makefile.in
index 530a0a96e..c8681fb66 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