libcacard: pkgconfig: tidy dependent libs
authorMichael Tokarev <mjt@tls.msk.ru>
Wed, 17 Jun 2015 18:02:03 +0000 (21:02 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 23 Jun 2015 16:57:28 +0000 (19:57 +0300)
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 <mjt@tls.msk.ru>
libcacard/libcacard.pc.in

index b6859b0c1f95f2bdbb5012e5d037672e4381f05d..4b60023ce9372f8a84f7c3b489b087d6f671bec2 100644 (file)
@@ -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}