From nobody Mon Feb 9 11:30:15 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1611348310; cv=none; d=zohomail.com; s=zohoarc; b=SydJODHIRB6hy+norx9LfrhQ/NO//eczgX9wydf4C41OBNiQ5t0Yxpf5sPLOdnisKi8OqX4guTGw/9slasi4Q5osZ8JRSSLMYE6tDJ7G9vH0glqLe52vT9tTFpk8a21AM7cN5/IbmVccwpvtYfqa6iXAhZ6Ifi8sOwm6R6txun0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348310; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=BS4UgVi6YkcI9gALuOcfQ485tajLCMcuiC5E8yTwxc8=; b=E5uHnaQ9q0vuncGtfYCgyM91gLxga+Z8507BRitJIIu30tB90nJwfk2gHdUZ6EroyiXuRZnPO9+VY/KRBckV6UBeMkIXo8n64VyBuj8FH2mj2AZizFiR/TzcTGwq4pB9QtkZq/WXKQbXQJkmKGfge9dEK25SLApQ3MhrK0pjeog= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1611348310047745.5597781233262; Fri, 22 Jan 2021 12:45:10 -0800 (PST) Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-591-n7Xb2gt-Mcu4gE6AqxbwlA-1; Fri, 22 Jan 2021 15:45:07 -0500 Received: by mail-ej1-f70.google.com with SMTP id f1so2668659ejq.20 for ; Fri, 22 Jan 2021 12:45:07 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id m22sm6236571edp.81.2021.01.22.12.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:45:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348309; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BS4UgVi6YkcI9gALuOcfQ485tajLCMcuiC5E8yTwxc8=; b=ExStZw0JdSL79evL9qZAV4ZZhe5FFiuoqy2MKOPsjZSASQzviTyP92xlTreL2EgyJtxl7T RmA9ogTgj+KGfn+7jaH9/o+TY0AYrvUiU4VlQz4b4zYkQYNzeweHjsF0wT3KCZettFBvE9 Zajt0d6ZdMOCYnPp0dPo3OjdjPV4Af4= X-MC-Unique: n7Xb2gt-Mcu4gE6AqxbwlA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BS4UgVi6YkcI9gALuOcfQ485tajLCMcuiC5E8yTwxc8=; b=mz+rrv53YrzkkyvU23Nu/x+XYPERI2IJ+vO9SAF2IN1oIjDyqWHJ+9nGBm31BivUWh bYM3/w7XbJIBEJBvtvGIQmnFxteQFQjdqChn16mnz2vvsaaGffD1g1syo1Qixd20/EP/ UJsb/f3Zfg4AnCCYeRbO4+UyPm7WdZjiapJHuVXTgeqGq53jji7QbiXS2gN/OdjJo+ni rTftTdeMIuH6SQuyUV7VGNfX82nUqAvE3EpEzJXNm71tH2QZNitNsIIIxKhGnptcKgTF SYMIlbwDSeJLit4F3vsLjpLQsP95OT7l2B46ldXPSzzW7WhdSa6GIz5BEJ64czl0Bqf8 uw4A== X-Gm-Message-State: AOAM531A01Ire/qSBtp0gxSMCEa50O0IrkkYbw6bpEG/rNYlTmUSVwUp S6V3Xum6gQjysmBaRnv36wmVKx6JV7QzUyNCuGWCfj8/+Jf9wUk1vTYHW7cMi54NFDIk01U4/ay Guh21ABJSSFuUuQ== X-Received: by 2002:a05:6402:14b:: with SMTP id s11mr4439522edu.214.1611348306209; Fri, 22 Jan 2021 12:45:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0dHMcfgaUDK4+Odqgy3SMUCdFjQbcUtB1rngABW4hdqxEvRvMmbiv+iSd+O6gBYRYwHyDNA== X-Received: by 2002:a05:6402:14b:: with SMTP id s11mr4439509edu.214.1611348306083; Fri, 22 Jan 2021 12:45:06 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , David Gibson , Samuel Thibault Subject: [PATCH v2 04/12] meson: Do not build optional libraries by default Date: Fri, 22 Jan 2021 21:44:33 +0100 Message-Id: <20210122204441.2145197-5-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The following libraries will be selected if a feature requires it: - capstone - fdt - SLiRP Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- Cc: Marc-Andr=C3=A9 Lureau Cc: David Gibson Cc: Samuel Thibault --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index a1e1eb318a5..61cbb89cd44 100644 --- a/meson.build +++ b/meson.build @@ -1446,6 +1446,7 @@ ] =20 libcapstone =3D static_library('capstone', + build_by_default: false, sources: capstone_files, c_args: capstone_cargs, include_directories: 'capstone/include') @@ -1523,6 +1524,7 @@ =20 slirp_inc =3D include_directories('slirp', 'slirp/src') libslirp =3D static_library('slirp', + build_by_default: false, sources: slirp_files, c_args: slirp_cargs, include_directories: slirp_inc) @@ -1568,6 +1570,7 @@ =20 fdt_inc =3D include_directories('dtc/libfdt') libfdt =3D static_library('fdt', + build_by_default: false, sources: fdt_files, include_directories: fdt_inc) fdt =3D declare_dependency(link_with: libfdt, --=20 2.26.2