block: always link with zlib
commita10c8516ed59c1e4c0db9b0d9050960ed861703d
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Aug 2020 17:32:40 +0000 (28 19:32 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Sep 2020 05:51:51 +0000 (1 01:51 -0400)
tree62ed8f07248c2440b0d5efb398ddba14a1f349d8
parent46504430e6b1f96ca8d805117ee4e20b74544c9f
block: always link with zlib

The qcow2 driver needs the zlib dependency.  While emulators
provided it through the migration code, this is not true of
the tools.  Move the dependency from the qcow1 rule directly
into block_ss so that it is included unconditionally.

Fixes build with --disable-qcow1.

Reported-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Cc: qemu-block@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
block/meson.build