zlib code is only used by the emulators, not by the tests.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
name_suffix: 'fa',
build_by_default: false)
migration = declare_dependency(link_with: libmigration,
- dependencies: [zlib, qom, io])
+ dependencies: [qom, io])
system_ss.add(migration)
block_ss = block_ss.apply({})
#include "qemu/osdep.h"
#include "qemu/error-report.h"
-#include <zlib.h>
#include "hw/core/cpu.h"
#include "qapi/error.h"
#include "exec/ramblock.h"
'socket.c',
'tls.c',
'threadinfo.c',
-), gnutls)
+), gnutls, zlib)
if get_option('replication').allowed()
system_ss.add(files('colo-failover.c', 'colo.c'))
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
-#include <zlib.h>
#include "qemu/madvise.h"
#include "qemu/error-report.h"
#include "qemu/iov.h"