* [Buildroot] [PATCH 1/1] package/libtorrent: add Libs.Private to libtorrent.pc.in
@ 2019-10-20 18:33 Fabrice Fontaine
2019-10-21 20:04 ` Thomas Petazzoni
2019-10-30 12:32 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-10-20 18:33 UTC (permalink / raw)
To: buildroot
This will fix a static build failure with rtorrent
Fixes:
- http://autobuild.buildroot.org/results/075598e1699c2ac20a4dfbcb5695bbb7343f9a86
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...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
diff --git a/package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch b/package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch
new file mode 100644
index 0000000000..7d363d2939
--- /dev/null
+++ b/package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch
@@ -0,0 +1,30 @@
+From a86219e725441eb87321fa3e24531dafa54ee674 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+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 <fontaine.fabrice@gmail.com>
+[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
+
--
2.23.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/libtorrent: add Libs.Private to libtorrent.pc.in
2019-10-20 18:33 [Buildroot] [PATCH 1/1] package/libtorrent: add Libs.Private to libtorrent.pc.in Fabrice Fontaine
@ 2019-10-21 20:04 ` Thomas Petazzoni
2019-10-30 12:32 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-21 20:04 UTC (permalink / raw)
To: buildroot
On Sun, 20 Oct 2019 20:33:36 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> This will fix a static build failure with rtorrent
>
> Fixes:
> - http://autobuild.buildroot.org/results/075598e1699c2ac20a4dfbcb5695bbb7343f9a86
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/libtorrent: add Libs.Private to libtorrent.pc.in
2019-10-20 18:33 [Buildroot] [PATCH 1/1] package/libtorrent: add Libs.Private to libtorrent.pc.in Fabrice Fontaine
2019-10-21 20:04 ` Thomas Petazzoni
@ 2019-10-30 12:32 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-10-30 12:32 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> This will fix a static build failure with rtorrent
> Fixes:
> - http://autobuild.buildroot.org/results/075598e1699c2ac20a4dfbcb5695bbb7343f9a86
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2019.02.x and 2019.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-30 12:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-20 18:33 [Buildroot] [PATCH 1/1] package/libtorrent: add Libs.Private to libtorrent.pc.in Fabrice Fontaine
2019-10-21 20:04 ` Thomas Petazzoni
2019-10-30 12:32 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.