From nobody Sun Feb 8 18:10:42 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=1594894627; cv=none; d=zohomail.com; s=zohoarc; b=XkBwZKfr2uodT/LXXgaK6Q8uSJBtreO8Qre9JJViN4ZkVajMePpOXm+mzu7DQJaYSm5wEYJw8p4vjB+OEOKZJX4RcrPDQBvWY86A4Agk4vusJK/rZbt8bg/zxFXJcG2xuhadcbccfMXGfx3ruIiYw400izxoT9Phs/hQPyJpTFA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894627; 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=7z1RPBnxkmdgDMNUp+sLGtB/gnDxouZ+wDRLjywu6I0=; b=R5I3/FeU1jCep8WfSK4lmHfrpSiUyfM5VCbqVXG75czWaud+QJSBDCGiBqiBazrit746Ibvod2yIx73Nia8ODi0xCT7+afNBRDXvhMdlMW1xQD6JW50TpDEfrqd4za07atlp4xqMPhbxRw1h+ARoAnbBXN3kae1L60r+CgtsgtE= 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 1594894627132233.33080208382307; Thu, 16 Jul 2020 03:17:07 -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-467-NjhvHeq6PZuAlGuE5CzLtA-1; Thu, 16 Jul 2020 06:14:11 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A482280BCB9; Thu, 16 Jul 2020 10:14:05 +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 80FA96FEFF; Thu, 16 Jul 2020 10:14:05 +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 528CA96232; Thu, 16 Jul 2020 10:14:05 +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 06GA6TJU019633 for ; Thu, 16 Jul 2020 06:06:29 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9A3262B6DC; Thu, 16 Jul 2020 10:06:29 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1569D2B6DB for ; Thu, 16 Jul 2020 10:06:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894625; 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=7z1RPBnxkmdgDMNUp+sLGtB/gnDxouZ+wDRLjywu6I0=; b=AzRZp1m+SIHIr8iAS3sjgwRF4ab/t1gxPANm/lQJHqd4F65mToNAqyG/mBrneR6WMBXAJY 2bdLV00mtxYCOx5YIqekUMG1HBUJwOcROxnQhPeQt7106BPNhhttQEqT58q9cmgtCLt1wq EKniccf7DLKmko9MBsHFUnx7gxERelk= X-MC-Unique: NjhvHeq6PZuAlGuE5CzLtA-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 270/351] meson: tools: build libnss_libvirt_impl.a static library Date: Thu, 16 Jul 2020 11:58:26 +0200 Message-Id: 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.79 on 10.5.11.12 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 | 22 ---------------------- tools/nss/meson.build | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 22 deletions(-) diff --git a/tools/Makefile.am b/tools/Makefile.am index 3d9d042d2f3..d6a0ccdab2c 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -53,29 +53,7 @@ wireshark/src/libvirt/protocol.h: wireshark/util/genxdrs= tub.pl \ =20 endif WITH_WIRESHARK_DISSECTOR =20 -LIBVIRT_NSS_SOURCES =3D \ - nss/libvirt_nss.c \ - nss/libvirt_nss.h \ - nss/libvirt_nss_leases.c \ - nss/libvirt_nss_leases.h \ - $(NULL) - if WITH_NSS -noinst_LTLIBRARIES +=3D nss/libnss_libvirt_impl.la -nss_libnss_libvirt_impl_la_SOURCES =3D \ - $(LIBVIRT_NSS_SOURCES) - -nss_libnss_libvirt_impl_la_CPPFLAGS =3D $(STANDALONE_CPPFLAGS) -nss_libnss_libvirt_impl_la_CFLAGS =3D \ - -DLIBVIRT_NSS \ - $(YAJL_CFLAGS) \ - $(AM_CFLAGS) \ - $(NULL) - -nss_libnss_libvirt_impl_la_LIBADD =3D \ - $(YAJL_LIBS) \ - $(NULL) - nss_libnss_libvirt_la_SOURCES =3D nss_libnss_libvirt_la_LDFLAGS =3D \ $(VERSION_SCRIPT_FLAGS)$(LIBVIRT_NSS_SYMBOL_FILE) \ diff --git a/tools/nss/meson.build b/tools/nss/meson.build index b83a63c9c34..9bccdafd19b 100644 --- a/tools/nss/meson.build +++ b/tools/nss/meson.build @@ -9,3 +9,22 @@ else nss_so_ver =3D '2' nss_prefix =3D 'lib' endif + +nss_sources =3D [ + 'libvirt_nss.c', + 'libvirt_nss_leases.c', +] + +nss_libvirt_impl =3D static_library( + 'nss_libvirt_impl', + [ + nss_sources, + ], + c_args: [ + '-DLIBVIRT_NSS' + ], + dependencies: [ + tools_dep, + yajl_dep, + ], +) --=20 2.26.2