]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix build of virt-login-shell on systems with older gnutls
authorJim Fehlig <jfehlig@suse.com>
Tue, 22 Oct 2013 05:12:22 +0000 (23:12 -0600)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 23 Oct 2013 08:53:52 +0000 (09:53 +0100)
commit549f96498523972d490526d305f33372528ff95d
treef8748d13586efb80cdbd0211ed242df4fc6e2792
parent5a275469758c6d8948264724765d9bcf717148aa
build: fix build of virt-login-shell on systems with older gnutls

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
config-post.h