xref: /OK3568_Linux_fs/buildroot/package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFrom a86219e725441eb87321fa3e24531dafa54ee674 Mon Sep 17 00:00:00 2001
2*4882a593SmuzhiyunFrom: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3*4882a593SmuzhiyunDate: Sun, 20 Oct 2019 20:23:19 +0200
4*4882a593SmuzhiyunSubject: [PATCH] libtorrent.pc.in: add Libs.Private
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunAdd Libs.Private: -lz so applications that want to link statically with
7*4882a593Smuzhiyunlibtorrent (such as rtorrent) will know that they must link with -lz
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunFixes:
10*4882a593Smuzhiyun - http://autobuild.buildroot.org/results/075598e1699c2ac20a4dfbcb5695bbb7343f9a86
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSigned-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
13*4882a593Smuzhiyun[Upstream status: https://github.com/rakshasa/libtorrent/pull/202]
14*4882a593Smuzhiyun---
15*4882a593Smuzhiyun libtorrent.pc.in | 1 +
16*4882a593Smuzhiyun 1 file changed, 1 insertion(+)
17*4882a593Smuzhiyun
18*4882a593Smuzhiyundiff --git a/libtorrent.pc.in b/libtorrent.pc.in
19*4882a593Smuzhiyunindex cf6612bc..6108f7e9 100644
20*4882a593Smuzhiyun--- a/libtorrent.pc.in
21*4882a593Smuzhiyun+++ b/libtorrent.pc.in
22*4882a593Smuzhiyun@@ -7,4 +7,5 @@ Name: libtorrent
23*4882a593Smuzhiyun Description: A BitTorrent library
24*4882a593Smuzhiyun Version: @VERSION@
25*4882a593Smuzhiyun Libs: -L${libdir} -ltorrent
26*4882a593Smuzhiyun+Libs.Private: -lz
27*4882a593Smuzhiyun Cflags: -I${includedir}
28*4882a593Smuzhiyun--
29*4882a593Smuzhiyun2.23.0
30*4882a593Smuzhiyun
31