From nobody Sun Feb 8 17:41:22 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1594894233; cv=none; d=zohomail.com; s=zohoarc; b=jE4yFG0rfS2EIV3rqgwX3PEGyMSV+KmTFaXjb0tZbYB8Vf44iU9EaakUNZlFlnc0/eA69dzEtleSxYNO7a6BMZLNO9p1H1okwxKfNRuuISa8tw0wUvi6ZkEZWL8yS64FE9sQNxCoSVkX7n/GYQmQGdHTSi1Dxu2qXQR3fJyNnfA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894233; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=U+bGDcPzb6is7wHjYt0BJ+zCRRAUt/a+eELBOsyxkk4=; b=OUIt0OlLNBCdS1JuRmXZQH9AVyINMR0PPmnLd8iAKPeaUvEjIlUJbJBPjFkWutOopereKdapFKAH5xzNRclxSyvHRGb8FUFuj4H6M48O+jMRq/UOlJVl7WIjVju6mcxtpdsvcy3/sirPnbZhUbS9MIgvuxsRhrcTRY3sR81KnVw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1594894233123776.939107993288; Thu, 16 Jul 2020 03:10:33 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-430-S8zB3ClTPCSaW_P_p49kxQ-1; Thu, 16 Jul 2020 06:10:29 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 21F6B107ACCA; Thu, 16 Jul 2020 10:10:24 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F24482DE6B; Thu, 16 Jul 2020 10:10:23 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id BD07AA3701; Thu, 16 Jul 2020 10:10:23 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06GA6Uie019646 for ; Thu, 16 Jul 2020 06:06:30 -0400 Received: by smtp.corp.redhat.com (Postfix) id 817CC2B6DC; Thu, 16 Jul 2020 10:06:30 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id F0D142B6DB for ; Thu, 16 Jul 2020 10:06:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894231; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=U+bGDcPzb6is7wHjYt0BJ+zCRRAUt/a+eELBOsyxkk4=; b=Nvbt3JTiynAaTxahHt1fA2Tb2Fg14dBDJMefanHjGK1Wb2O8Ue0bAj2nDfzN/zbMecLE/g A7wO7Hnk3WNacHrb05Wcz0AmEEU53vGvJqeP7JWA1aeo3WINVdzdudFPH9CaGMZCNCCa9L MEhUV9MCGJVfZvhvCURw4kA+OM7NaB8= X-MC-Unique: S8zB3ClTPCSaW_P_p49kxQ-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 271/351] meson: tools: build libnss_libvirt_guest_impl.a static library Date: Thu, 16 Jul 2020 11:58:27 +0200 Message-Id: <2a40fc99b10d9ecc82d4c1a68d27257d29996296.1594891445.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina --- tools/Makefile.am | 23 ----------------------- tools/nss/meson.build | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 23 deletions(-) diff --git a/tools/Makefile.am b/tools/Makefile.am index d6a0ccdab2c..b1388280fef 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -19,10 +19,6 @@ # dir or public API dir. Specific files can # still be included via their path relative to the root if # needed -STANDALONE_CPPFLAGS =3D -I$(top_srcdir) - -noinst_LTLIBRARIES =3D - if WITH_WIRESHARK_DISSECTOR =20 ws_plugin_LTLIBRARIES =3D wireshark/src/libvirt.la @@ -71,25 +67,6 @@ nss_libnss_libvirt_la_DEPENDENCIES =3D \ $(nss_libnss_libvirt_la_LIBADD) \ $(LIBVIRT_NSS_SYMBOL_FILE) =20 -noinst_LTLIBRARIES +=3D nss/libnss_libvirt_guest_impl.la -nss_libnss_libvirt_guest_impl_la_SOURCES =3D \ - $(LIBVIRT_NSS_SOURCES) \ - nss/libvirt_nss_macs.h \ - nss/libvirt_nss_macs.c \ - $(NULL) - -nss_libnss_libvirt_guest_impl_la_CPPFLAGS =3D $(STANDALONE_CPPFLAGS) -nss_libnss_libvirt_guest_impl_la_CFLAGS =3D \ - -DLIBVIRT_NSS \ - -DLIBVIRT_NSS_GUEST \ - $(YAJL_CFLAGS) \ - $(AM_CFLAGS) \ - $(NULL) - -nss_libnss_libvirt_guest_impl_la_LIBADD =3D \ - $(YAJL_LIBS) \ - $(NULL) - nss_libnss_libvirt_guest_la_SOURCES =3D nss_libnss_libvirt_guest_la_LDFLAGS =3D \ $(VERSION_SCRIPT_FLAGS)$(LIBVIRT_GUEST_NSS_SYMBOL_FILE) \ diff --git a/tools/nss/meson.build b/tools/nss/meson.build index 9bccdafd19b..ef75ffe0010 100644 --- a/tools/nss/meson.build +++ b/tools/nss/meson.build @@ -15,6 +15,10 @@ nss_sources =3D [ 'libvirt_nss_leases.c', ] =20 +nss_guest_sources =3D [ + 'libvirt_nss_macs.c', +] + nss_libvirt_impl =3D static_library( 'nss_libvirt_impl', [ @@ -28,3 +32,19 @@ nss_libvirt_impl =3D static_library( yajl_dep, ], ) + +nss_libvirt_guest_impl =3D static_library( + 'nss_libvirt_guest_impl', + [ + nss_sources, + nss_guest_sources, + ], + c_args: [ + '-DLIBVIRT_NSS', + '-DLIBVIRT_NSS_GUEST', + ], + dependencies: [ + tools_dep, + yajl_dep, + ], +) --=20 2.26.2