Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix undefined reference error when building with GnuTLS
Since commit 34f4c68 ("Add undocumented --gnutls-debug command line
option") the openconnect binary uses gnutls_global_set_log_level
directly. Link the standalone binary against $(SSL_LIBS).

Signed-off-by: Mike Miller <mtmiller@debian.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
mtmiller authored and David Woodhouse committed Jan 26, 2015
1 parent 23fa443 commit 50b397b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Expand Up @@ -21,7 +21,7 @@ endif

openconnect_SOURCES = xml.c main.c
openconnect_CFLAGS = $(AM_CFLAGS) $(SSL_CFLAGS) $(DTLS_SSL_CFLAGS) $(LIBXML2_CFLAGS) $(LIBPROXY_CFLAGS) $(ZLIB_CFLAGS) $(LIBSTOKEN_CFLAGS) $(LIBOATH_CFLAGS) $(LIBPSKC_CFLAGS) $(GSSAPI_CFLAGS) $(INTL_CFLAGS) $(ICONV_CFLAGS) $(LIBPCSCLITE_CFLAGS)
openconnect_LDADD = libopenconnect.la $(LIBXML2_LIBS) $(LIBPROXY_LIBS) $(INTL_LIBS) $(ICONV_LIBS)
openconnect_LDADD = libopenconnect.la $(SSL_LIBS) $(LIBXML2_LIBS) $(LIBPROXY_LIBS) $(INTL_LIBS) $(ICONV_LIBS)

library_srcs = ssl.c http.c auth-common.c library.c compat.c lzs.c mainloop.c script.c ntlm.c digest.c
lib_srcs_cisco = auth.c cstp.c dtls.c
Expand Down

0 comments on commit 50b397b

Please sign in to comment.