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