aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2018-11-22 20:42:12 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-12-03 22:53:25 +0100
commit0172a94ac57991160da685b44e808c051be0132c (patch)
treebfbe514fa4621ebacbbba1e4f781e1ce4463e142
parentdca53990a0dd5a358a7840fe1d670dbb694e54e2 (diff)
downloadbuildroot-0172a94ac57991160da685b44e808c051be0132c.tar.gz
buildroot-0172a94ac57991160da685b44e808c051be0132c.tar.bz2
popt: add libiconv to popt.pc.in
Add ${LTLIBICONV} to popt.pc.in so applications such as shairport-sync will know that they must link with -liconv when building statically Fixes: - http://autobuild.buildroot.org/results/c5b0d1d2867e49c022a2ad971dd9f358ff0f3865 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit 1209eb2dca71fe43e3742f81b43591f6b24ed51a) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/popt/0004-add-libiconv-to-popt.pc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/popt/0004-add-libiconv-to-popt.pc.patch b/package/popt/0004-add-libiconv-to-popt.pc.patch
new file mode 100644
index 0000000000..087a30bb7a
--- /dev/null
+++ b/package/popt/0004-add-libiconv-to-popt.pc.patch
@@ -0,0 +1,19 @@
+Add LTLIBICONV to popt.pc.in
+
+Add ${LTLIBICONV} to popt.pc.in so applications such as shairport-sync
+will know that they must link with -liconv when building statically
+
+Fixes:
+ - http://autobuild.buildroot.org/results/c5b0d1d2867e49c022a2ad971dd9f358ff0f3865
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+
+diff -Naurp popt-1.16-vanilla/popt.pc.in popt-1.16/popt.pc.in
+--- popt-1.16-vanilla/popt.pc.in 2018-11-22 20:26:55.735211662 +0100
++++ popt-1.16/popt.pc.in 2018-11-22 20:34:11.371303724 +0100
+@@ -7,4 +7,5 @@ Name: popt
+ Version: @VERSION@
+ Description: popt library.
+ Libs: @POPT_PKGCONFIG_LIBS@
++Libs.private: @LTLIBICONV@
+ Cflags: -I${includedir}