refresh remove-requires.private.patch

This commit is contained in:
luoyaoming 2024-05-17 14:16:09 +08:00
parent 05229a5d5c
commit a0edbca762
1 changed files with 10 additions and 3 deletions

View File

@ -6,7 +6,14 @@ Since we're not providing static library, Requires.private is not used.
But pkg-config complains about missing dependensies even if they're not
used.
--- a/libcacard.pc.in
+++ b/libcacard.pc.in
@@ -10,1 +10,0 @@ Name: cacard
Index: libcacard-2.8.0/libcacard.pc.in
===================================================================
--- libcacard-2.8.0.orig/libcacard.pc.in
+++ libcacard-2.8.0/libcacard.pc.in
@@ -7,6 +7,5 @@ Name: cacard
Description: CAC (Common Access Card) library
Version: @PACKAGE_VERSION@
Requires: glib-2.0
-Requires.private: nss
Libs: -L${libdir} -lcacard
Cflags: -I${includedir}/cacard