xref: /OK3568_Linux_fs/buildroot/package/popt/0001-add-libiconv-to-popt.pc.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Add LTLIBICONV to popt.pc.in
2
3Add ${LTLIBICONV} to popt.pc.in so applications such as shairport-sync
4will know that they must link with -liconv when building statically
5
6Fixes:
7 - http://autobuild.buildroot.org/results/c5b0d1d2867e49c022a2ad971dd9f358ff0f3865
8
9Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
10
11diff -Naurp popt-1.18-vanilla/popt.pc.in popt-1.18/popt.pc.in
12--- popt-1.18-vanilla/popt.pc.in	2020-03-24 10:36:25.000000000 +0100
13+++ popt-1.18/popt.pc.in	2020-09-18 21:18:03.112609343 +0200
14@@ -7,4 +7,5 @@ Name: popt
15 Version: @VERSION@
16 Description: popt library.
17 Libs: -L${libdir} -lpopt
18+Libs.private: @LTLIBICONV@
19 Cflags: -I${includedir}
20