package/libpciaccess: add Libs.Private to pciaccess.pc
PATCH 1/1 package/libpciaccess: add Libs.Private to pciaccess.pc
This will fix a static build failure for hwloc
Fixes:
- http://autobuild.buildroot.org/results/f100191acef41d42582ab2a35e1b6f264594f074
Signed-off-by Fabrice Fontaine <[email protected]>
--- ...001-pciaccess.pc.in-add-Libs.Private.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/libpciaccess/0001-pciaccess.pc.in-add-Libs.Private.patch
package/libpciaccess/0001-pciaccess.pc.in-add-Libs.Private.patch new file +28 -0
@@ -0,0 +1,28 @@ +From e1f9fc0a11559c1200005c4bfe34cd217ec117b4 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine <[email protected]> +Date: Fri, 25 Oct 2019 19:03:32 +0200 +Subject: [PATCH] pciaccess.pc.in: add Libs.Private + +Add Libs.Private in pciaccess.pc.in so applications that wants to link +statically with pciaccess will know that they have to link with its +dependencies such as -lz + +Signed-off-by: Fabrice Fontaine <[email protected]> +[Upstream status: +https://gitlab.freedesktop.org/xorg/lib/libpciaccess/merge_requests/10] +--- + pciaccess.pc.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pciaccess.pc.in b/pciaccess.pc.in +index 706c5f7..c2da3d9 100644 +--- a/pciaccess.pc.in ++++ b/pciaccess.pc.in +@@ -8,3 +8,4 @@ Description: Library providing generic access to the PCI bus and devices. + Version: @PACKAGE_VERSION@ + Cflags: -I${includedir} + Libs: -L${libdir} -lpciaccess ++Libs.Private: @PCIACCESS_LIBS@ +-- +2.23.0 +
Signature · 1 line
2.23.0
Thomas Petazzoni
AppliedPATCH 1/1 package/libpciaccess: add Libs.Private to pciaccess.pc
Quoted 10 lines · On Fri, 25 Oct 2019 19:10:03 +0200 Fabrice Fontaine…
This will fix a static build failure for hwloc
Fixes:
- http://autobuild.buildroot.org/results/f100191acef41d42582ab2a35e1b6f264594f074Signed-off-by Fabrice Fontaine <[email protected]>--- ...001-pciaccess.pc.in-add-Libs.Private.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/libpciaccess/0001-pciaccess.pc.in-add-Libs.Private.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/libpciaccess: add Libs.Private to pciaccess.pc
In reply to Fabrice FontaineQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
This will fix a static build failure for hwloc
Fixes:
- http://autobuild.buildroot.org/results/f100191acef41d42582ab2a35e1b6f264594f074Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2019.02.x and 2019.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard