package/libtorrent: add Libs.Private to libtorrent.pc.in
PATCH 1/1 package/libtorrent: add Libs.Private to libtorrent.pc.in
This will fix a static build failure with rtorrent
Fixes:
- http://autobuild.buildroot.org/results/075598e1699c2ac20a4dfbcb5695bbb7343f9a86
Signed-off-by Fabrice Fontaine <[email protected]>
--- ...01-libtorrent.pc.in-add-Libs.Private.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch
package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch new file +30 -0
@@ -0,0 +1,30 @@ +From a86219e725441eb87321fa3e24531dafa54ee674 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine <[email protected]> +Date: Sun, 20 Oct 2019 20:23:19 +0200 +Subject: [PATCH] libtorrent.pc.in: add Libs.Private + +Add Libs.Private: -lz so applications that want to link statically with +libtorrent (such as rtorrent) will know that they must link with -lz + +Fixes: + - http://autobuild.buildroot.org/results/075598e1699c2ac20a4dfbcb5695bbb7343f9a86 + +Signed-off-by: Fabrice Fontaine <[email protected]> +[Upstream status: https://github.com/rakshasa/libtorrent/pull/202] +--- + libtorrent.pc.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libtorrent.pc.in b/libtorrent.pc.in +index cf6612bc..6108f7e9 100644 +--- a/libtorrent.pc.in ++++ b/libtorrent.pc.in +@@ -7,4 +7,5 @@ Name: libtorrent + Description: A BitTorrent library + Version: @VERSION@ + Libs: -L${libdir} -ltorrent ++Libs.Private: -lz + Cflags: -I${includedir} +-- +2.23.0 +
Signature · 1 line
2.23.0
Thomas Petazzoni
AppliedPATCH 1/1 package/libtorrent: add Libs.Private to libtorrent.pc.in
Quoted 10 lines · On Sun, 20 Oct 2019 20:33:36 +0200 Fabrice Fontaine…
This will fix a static build failure with rtorrent
Fixes:
- http://autobuild.buildroot.org/results/075598e1699c2ac20a4dfbcb5695bbb7343f9a86Signed-off-by Fabrice Fontaine <[email protected]>--- ...01-libtorrent.pc.in-add-Libs.Private.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/libtorrent/0001-libtorrent.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/libtorrent: add Libs.Private to libtorrent.pc.in
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 with rtorrent
Fixes:
- http://autobuild.buildroot.org/results/075598e1699c2ac20a4dfbcb5695bbb7343f9a86Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2019.02.x and 2019.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard