From patchwork Mon Jun 22 11:16:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 487180 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3E14E140306 for ; Mon, 22 Jun 2015 21:54:11 +1000 (AEST) Received: from localhost ([::1]:39512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z70Ii-0007MZ-WF for incoming@patchwork.ozlabs.org; Mon, 22 Jun 2015 07:54:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z70I5-0006KZ-MD for qemu-devel@nongnu.org; Mon, 22 Jun 2015 07:53:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z70I2-0000OA-FI for qemu-devel@nongnu.org; Mon, 22 Jun 2015 07:53:29 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:46518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z70I2-0000Np-7f; Mon, 22 Jun 2015 07:53:26 -0400 Received: from tsrv.tls.msk.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id F312941E50; Mon, 22 Jun 2015 14:53:24 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.tls.msk.ru (Postfix) with SMTP id 8348AA6C; Mon, 22 Jun 2015 14:16:32 +0300 (MSK) Received: (nullmailer pid 9261 invoked by uid 1000); Mon, 22 Jun 2015 11:16:30 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Mon, 22 Jun 2015 14:16:18 +0300 Message-Id: <63d97bd66df4f5552434b68dbb1409b649ac1f7b.1434971627.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Michael Tokarev Subject: [Qemu-devel] [PULL 11/21] libcacard: pkgconfig: tidy dependent libs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org libcacard.pc file lists only one package in Requires field, which is nss, while glib-2.0 is also a requiriment. Furthermore, for libraries used internally by the library (this is the way nss and glib are used by libcacard), Requires.private shold be used instead of Requires. Fix both issues. This does not affect linking of qemu because it links with objects from libcacard directly. Signed-off-by: Michael Tokarev --- libcacard/libcacard.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcacard/libcacard.pc.in b/libcacard/libcacard.pc.in index b6859b0..4b60023 100644 --- a/libcacard/libcacard.pc.in +++ b/libcacard/libcacard.pc.in @@ -7,7 +7,7 @@ Name: cacard Description: CA Card library Version: @VERSION@ -Requires: nss +Requires.private: nss glib-2.0 Libs: -L${libdir} -lcacard Libs.private: Cflags: -I${includedir}