[Libguestfs] [PATCH nbdkit] valgrind: Don't call dlclose when running under valgrind.
Richard W.M. Jones
rjones at redhat.com
Sun Jul 1 15:01:21 UTC 2018
On Sun, Jul 01, 2018 at 12:50:46PM +0100, Richard W.M. Jones wrote:
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 7ead75c..915efe4 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -63,7 +63,8 @@ nbdkit_CPPFLAGS = \
> nbdkit_CFLAGS = \
> -pthread \
> $(WARNINGS_CFLAGS) \
> - $(GNUTLS_CFLAGS)
> + $(GNUTLS_CFLAGS) \
> + $(VALGRIND_CFLAGS)
Just a note that this also has to be added to test_utils_CFLAGS at the
bottom of the same file, otherwise the tests fail to compile.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
More information about the Libguestfs
mailing list