Received: from eggs.gnu.org ([2001:4830:134:3::10]:56130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Hi0-0003Bi-9i for qemu-devel@nongnu.org; Wed, 17 Jun 2015 14:05:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Hhu-0003Xn-UI for qemu-devel@nongnu.org; Wed, 17 Jun 2015 14:05:08 -0400 From: Michael Tokarev Date: Wed, 17 Jun 2015 21:05:00 +0300 Message-Id: <1434564300-7372-1-git-send-email-mjt@msgid.tls.msk.ru> Subject: [Qemu-devel] [PATCH] libcacard: pkgconfig: tidy dependent libs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Michael Tokarev 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} -- 2.1.4