From nobody Sat Oct 4 20:33:20 2025 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=1601989009; cv=none; d=zohomail.com; s=zohoarc; b=UeAZwmI4pJfL+owYRtQ7FywhJ8/sBd+2pdtWoPj2hfvcTNlocOh7/8GUWQWIDydjCrZqM1V6loGC5L9rUviA4H1LOQcl04F1IiG2tF5KW1WxHJUEwnAKjNgECzuOhA5dp8pnr2x2kgfbxQvrRBgwgyxzlwh2cGgJJD9tIvRhGVI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601989009; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ZbwAwPx3ANbvemm3sKJq8R8pcWj7ZDfAwWyPc+pq4Mw=; b=E1KNgYYlUYO1WkkJMONdJ3i/OhVhLMjF6jFdL7wLwK1f9wX3AdE9rHTBFUg7bHRRkDQrqSfytBOP11xFODuYtidT3mIAGzS7glfsiUQD8XS5QTsxARnuujnoig6gXsQglCLdIA6+r50R2+mxUKeC4vyDMN655OXGn1R3D5r2MMY= 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 1601989009442650.8392798419793; Tue, 6 Oct 2020 05:56:49 -0700 (PDT) Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-137-GJxYrDKiM6OgDADfxEfdeQ-1; Tue, 06 Oct 2020 08:56:46 -0400 Received: by mail-wm1-f70.google.com with SMTP id m14so670363wmi.0 for ; Tue, 06 Oct 2020 05:56:46 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (106.red-83-59-162.dynamicip.rima-tde.net. [83.59.162.106]) by smtp.gmail.com with ESMTPSA id u5sm5299722wru.63.2020.10.06.05.56.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Oct 2020 05:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601989008; 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=ZbwAwPx3ANbvemm3sKJq8R8pcWj7ZDfAwWyPc+pq4Mw=; b=FUTCAM1UgKFhs7OxLS81rjWJE5bvHstGE6Oxi2MJoVdnhX3haz0vTh8Bs/4QqfknLPnHUF BRPoUZjmHwLVK4rxg+9t/yeavuj5NvKGN8xhg3oXdGMu6hwovDxLrpht8oV7AaIAWzImeH wdj908V+gyK09uqtehB/UdXX2LPIX8g= X-MC-Unique: GJxYrDKiM6OgDADfxEfdeQ-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=ZbwAwPx3ANbvemm3sKJq8R8pcWj7ZDfAwWyPc+pq4Mw=; b=fL+1k+P40zdlkMbfg3Rm6TThPLkNW/HyD+AoY0189CEzVJRYO3T2b1vLmEVzvDQkE7 K6rgFmOqn6VC/kwp4YFVNrEtSDLPiE89YRJfi/0eGM0IMAILBFThlWfWqTqlrxu/Vo4F rPit17uYbVlHYHkf9KX7LAMyz7P5Vw5zXiIhcApf3BAd541dmb5HNHXuFzwl6uWug661 jvxcKLMAIYj8jSDy8i8t/JBUjy4z5I6Wu54Wk9a7CqBQwoCwtBG/aO/xv6LW2Cl5U+Mu ZKQdCL6VSu6Wf1CsLansXH1R2BpEL8HnhxDS7dAoq5AM2am3Nvw8FYd//eHXouGWDlIX 4/gQ== X-Gm-Message-State: AOAM531GdcsE4IWwU03tw6OGXoNTdPS+CwLlteYKX/BY5S6CTmcuqM8j +NdhKcACcG3U35IEQ1bDdGcR9m7RlXYRMz5V+B+rFwWcr5xbkNLi3WX7k5M2G8X2RtTNEVIOU1p 7yGj0xodyaUgNkg== X-Received: by 2002:a7b:c0c8:: with SMTP id s8mr4590420wmh.78.1601989005458; Tue, 06 Oct 2020 05:56:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2atI0g0njW4x5KCvdzBpMWVn388OIIV8mTdOt8DT92+Kcm9+fdZCGGE1BfDRf3vPJEHbH9A== X-Received: by 2002:a7b:c0c8:: with SMTP id s8mr4590408wmh.78.1601989005296; Tue, 06 Oct 2020 05:56:45 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Dr. David Alan Gilbert" , Juan Quintela , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 8/9] authz: Move the creation of the library to the main meson.build Date: Tue, 6 Oct 2020 14:56:01 +0200 Message-Id: <20201006125602.2311423-9-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201006125602.2311423-1-philmd@redhat.com> References: <20201006125602.2311423-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) Be consistent creating all the libraries in the main meson.build file. Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 10 ++++++++++ authz/meson.build | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/meson.build b/meson.build index d064d07dae..73838d1d4f 100644 --- a/meson.build +++ b/meson.build @@ -1059,6 +1059,7 @@ sphinx_extn_depends =3D [ meson.source_root() / 'docs= /sphinx/depfile.py', =20 # Collect sourcesets. =20 +authz_ss =3D ss.source_set() blockdev_ss =3D ss.source_set() block_ss =3D ss.source_set() bsd_user_ss =3D ss.source_set() @@ -1330,6 +1331,15 @@ qemu_syms =3D custom_target('qemu.syms', output: 'qe= mu.syms', # Library dependencies # ######################## =20 +authz_ss =3D authz_ss.apply(config_host, strict: false) +libauthz =3D static_library('authz', authz_ss.sources() + genh, + dependencies: [authz_ss.dependencies()], + name_suffix: 'fa', + build_by_default: false) + +authz =3D declare_dependency(link_whole: libauthz, + dependencies: qom) + crypto_ss =3D crypto_ss.apply(config_host, strict: false) libcrypto =3D static_library('crypto', crypto_ss.sources() + genh, dependencies: [crypto_ss.dependencies()], diff --git a/authz/meson.build b/authz/meson.build index 516d71f2e2..88fa7769cb 100644 --- a/authz/meson.build +++ b/authz/meson.build @@ -1,4 +1,3 @@ -authz_ss =3D ss.source_set() authz_ss.add(genh) authz_ss.add(files( 'base.c', @@ -8,12 +7,3 @@ authz_ss.add(files( )) =20 authz_ss.add(when: ['CONFIG_AUTH_PAM', pam], if_true: files('pamacct.c')) - -authz_ss =3D authz_ss.apply(config_host, strict: false) -libauthz =3D static_library('authz', authz_ss.sources() + genh, - dependencies: [authz_ss.dependencies()], - name_suffix: 'fa', - build_by_default: false) - -authz =3D declare_dependency(link_whole: libauthz, - dependencies: qom) --=20 2.26.2