From nobody Sun Feb 8 13:10:44 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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=1594894811; cv=none; d=zohomail.com; s=zohoarc; b=ap0QZadVpiQgR0Yv2QfqsayCWaKFvhTfPWPLb8jeD5PI1F7DVCvvKC8w2QQ7UQYsdF5ZdEgRimyMuR/II/1OCdqDIcmCFlMz6IdCq11Din3eGNLeltPOK/XXg+4Ftsv9bbRa6giJq7h2xZ9teR5tImdC8GLt2Zsz06Uffllf3UM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894811; 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=lrHXZj5gOsR3vs9UdI5k0nOueMd5LnL6XQSWol+DBPw=; b=CM2Sc6OT2XZjO9goTLy9Sa/x2x16SWrUPEzlhDjKg1EgwDqGCIVWIgIxEE1m1DNXAGmtdSugDi7XVt4OKQvvM3PIdHJ0OTTwhwIfjgA9ZBiemcqi2yq9mWhUrpQGQI+zcAOvyvQw0zq1pXzUyP1+NWmS3KOzNJUqOj6pXM04rQk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1594894811798406.6790193107545; Thu, 16 Jul 2020 03:20:11 -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-441-vujNQkjyOwyZuNY7ZhV_TA-1; Thu, 16 Jul 2020 06:08:56 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 478341888AAB; Thu, 16 Jul 2020 10:08:50 +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 2AE9C710D7; Thu, 16 Jul 2020 10:08:50 +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 F0F119623C; Thu, 16 Jul 2020 10:08:49 +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 06GA6A2G019376 for ; Thu, 16 Jul 2020 06:06:10 -0400 Received: by smtp.corp.redhat.com (Postfix) id BAAC82B6DC; Thu, 16 Jul 2020 10:06:10 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 350422B6DB for ; Thu, 16 Jul 2020 10:06:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894810; 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=lrHXZj5gOsR3vs9UdI5k0nOueMd5LnL6XQSWol+DBPw=; b=M/YDV5/A9birjRFU4ESRKQMeqZoCTNG2QkJsOTzvw3qaSxmQOL5lCi5o3e1UANNAi5iFbo ZSEQvLbwP4ekwYKXfSx/P6I1Q4/+UsTpqlER3iFfD0IbOk71BvOdorpu2Q44eO3pFbUp3M WvIMh9cnUoXeLtM+XDAya6LilhVtpCc= X-MC-Unique: vujNQkjyOwyZuNY7ZhV_TA-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 252/351] meson: src: configure pkg-config files used by run script Date: Thu, 16 Jul 2020 11:58:08 +0200 Message-Id: <7fc8b76a858bd5eb176f787422697d6b55efebe3.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.79 on 10.5.11.15 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 --- configure.ac | 3 --- src/meson.build | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index c26076fd79b..dc1a27ae94b 100644 --- a/configure.ac +++ b/configure.ac @@ -118,9 +118,6 @@ AC_CONFIG_FILES([\ libvirt-qemu.pc \ libvirt-lxc.pc \ libvirt-admin.pc \ - src/libvirt.pc \ - src/libvirt-qemu.pc \ - src/libvirt-lxc.pc \ libvirt.spec mingw-libvirt.spec \ po/Makefile \ examples/Makefile \ diff --git a/src/meson.build b/src/meson.build index 08892b536e2..946c124079a 100644 --- a/src/meson.build +++ b/src/meson.build @@ -937,3 +937,23 @@ if pdwtags_prog.found() ) endforeach endif + +# configure pkg-config files for run script +run_pkg_config_files =3D [ + 'libvirt-lxc.pc.in', + 'libvirt-qemu.pc.in', + 'libvirt.pc.in', +] + +run_pkg_config_conf =3D configuration_data() +run_pkg_config_conf.set('VERSION', meson.project_version()) +run_pkg_config_conf.set('abs_top_builddir', meson.build_root()) +run_pkg_config_conf.set('abs_top_srcdir', meson.source_root()) + +foreach file : run_pkg_config_files + configure_file( + input: file, + output: '@BASENAME@', + configuration: run_pkg_config_conf, + ) +endforeach --=20 2.26.2