xref: /OK3568_Linux_fs/buildroot/package/libpciaccess/0001-pciaccess.pc.in-add-Libs.Private.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From e1f9fc0a11559c1200005c4bfe34cd217ec117b4 Mon Sep 17 00:00:00 2001
2From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3Date: Fri, 25 Oct 2019 19:03:32 +0200
4Subject: [PATCH] pciaccess.pc.in: add Libs.Private
5
6Add Libs.Private in pciaccess.pc.in so applications that wants to link
7statically with pciaccess will know that they have to link with its
8dependencies such as -lz
9
10Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
11[Upstream status:
12https://gitlab.freedesktop.org/xorg/lib/libpciaccess/merge_requests/10]
13---
14 pciaccess.pc.in | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/pciaccess.pc.in b/pciaccess.pc.in
18index 706c5f7..c2da3d9 100644
19--- a/pciaccess.pc.in
20+++ b/pciaccess.pc.in
21@@ -8,3 +8,4 @@ Description: Library providing generic access to the PCI bus and devices.
22 Version: @PACKAGE_VERSION@
23 Cflags: -I${includedir}
24 Libs: -L${libdir} -lpciaccess
25+Libs.Private: @PCIACCESS_LIBS@
26--
272.23.0
28
29