Skip to contentSkip to conversation

libcacard: pkgconfig: tidy dependent libs

PATCH New Michael Tokarev 1 participant 1 message Jun 17, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libcacard: pkgconfig: tidy dependent libs

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.

---
 libcacard/libcacard.pc.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libcacard/libcacard.pc.in +1 -1
index b6859b0..4b60023 100644
@@ -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}
Signature · 1 line
2.1.4