From nobody Sun Nov 16 23:13:50 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1601982790; cv=none; d=zohomail.com; s=zohoarc; b=G8Sbb32Zx+ASWNfWAVW3FKhnUWAw5CAXcFBmj7hssL67bArNhVe7PC41bh6Ajv/ZWx5naki36GHgUx5oyIoWFpHqp1tMOq8+aA1+CBR89oPR42sBwW7IKX4t4jfJUsP4QXML//g+uKpafF5h8bersaAGmYCdLwPlDnyXe4LfTnc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601982790; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=UGlTQyPHetsqq0zL2iZVU9NGjFB1rfxPXu9fGi39RP8=; b=L/kryHcizf7SQtDAktwz5+0o1IWgndyHxmkLCdih8Z2RSZrpEaxWju9YvPxoSqEFeoYx1ziw3KBNhjD/I1SswIX/09jL9lgiJZ0WlvFCr//TJ+057kPlx4kDUBF0Z7kPj6NeGu+VLGBc1qH5GlFFzbIdbT/mQ4RtcUsE3nu92xw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 1601982790196233.41943475301173; Tue, 6 Oct 2020 04:13:10 -0700 (PDT) Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-298-1Ea9mmvqNT6OPRyXp3LE0A-1; Tue, 06 Oct 2020 07:13:07 -0400 Received: by mail-wr1-f72.google.com with SMTP id r16so5191852wrm.18 for ; Tue, 06 Oct 2020 04:13:07 -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 f189sm3631986wmf.16.2020.10.06.04.13.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Oct 2020 04:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601982788; 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=UGlTQyPHetsqq0zL2iZVU9NGjFB1rfxPXu9fGi39RP8=; b=I4Dvb92N94aeCmzdZAo9/CisWT/dCzQ+dCanP2kyW5cG0TZXQYDj48W1NnqkWGRmI41QfT QNwMz/5Sgjv8TvsJCx2xls6zKYQkwNpQfGERHnh+eCO7t6irHmA1ow+3VQCr0RfZCKQ13/ SR/PsWTiZyh9z13ezy5nxutWjA6+EFw= X-MC-Unique: 1Ea9mmvqNT6OPRyXp3LE0A-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=UGlTQyPHetsqq0zL2iZVU9NGjFB1rfxPXu9fGi39RP8=; b=n5mgpaIrleZpIhkDSmXwcgzbcL7D/hyIY0whKnEISXoFb/mkzpyRHGzwI5VOQUFMDj Stgra9wwpfE9xSjKN6+6HX427gfKRZJcda6PgAVjk73jR0ko8ZLiLFNOFw0Vvi/yIdaj w7s/hVVFWoBcNXMm4jGZgRnzdLVYGvkYfwLaaK1OCwVJ/w9f7VIK8jOGxfov/459y0+B 8lRtE7vWtWWr1S1bdSB0nV+M9MVVq703CiNO7j+fVodE07negoSbr6oqbH9rZh4dd+ut exE/gKEV3BbKOzog5x3RIhULA3+LLPYlPFm47kbJL34yVqX+Ck7qYV1hvgT40zN1VkSS 3zOg== X-Gm-Message-State: AOAM5320JmDCk48e46lb9pXw9fQZ2G30lDtR8K5F2C6QNCtjH6jX7CfT SUG+R+PHQmm4CkuIpZh/RulXfjgB94J0m4qP/nYu226iPoGBRtOARUankQ7jx/hnaX3B7GtbgTR rzrhmrYg+grFN7w== X-Received: by 2002:a5d:6409:: with SMTP id z9mr897083wru.391.1601982786277; Tue, 06 Oct 2020 04:13:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxBXJAHlzAcMw3p8z9DJfZ2ANL9j5lqmE9paWPuCrC/DN1XW1f1o7e48W0ybuPeRSt9Ku6zQ== X-Received: by 2002:a5d:6409:: with SMTP id z9mr897068wru.391.1601982786103; Tue, 06 Oct 2020 04:13:06 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , "Dr. David Alan Gilbert" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Juan Quintela , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 09/10] authz: Move the creation of the library to the main meson.build Date: Tue, 6 Oct 2020 13:12:18 +0200 Message-Id: <20201006111219.2300921-10-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201006111219.2300921-1-philmd@redhat.com> References: <20201006111219.2300921-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 5ded67cb76..9ecfe93503 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