Skip to content

Commit

Permalink
build: fix build of virt-login-shell on systems with older gnutls
Browse files Browse the repository at this point in the history
On systems where gnutls uses libgcrypt, I'm seeing the following
build failure

libvirt.c:314: error: variable 'virTLSThreadImpl' has initializer but incomplete type
libvirt.c:319: error: 'GCRY_THREAD_OPTION_PTHREAD' undeclared here (not in a function)
...

Fix by undefining WITH_GNUTLS_GCRYPT in config-post.h
  • Loading branch information
jfehlig committed Oct 22, 2013
1 parent e3e9d3b commit 843bdb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config-post.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
# undef WITH_CURL
# undef WITH_DTRACE_PROBES
# undef WITH_GNUTLS
# undef WITH_GNUTLS_GCRYPT
# undef WITH_MACVTAP
# undef WITH_NUMACTL
# undef WITH_SASL
Expand Down

0 comments on commit 843bdb2

Please sign in to comment.