3 Since the @LIBICONV@ macro doesn't get replaced at compile time, we
4 end up installing an invalid gdlib-config: the gdlib-config --libs
5 says that one should link against @LIBICONV@ which obviously doesn't
8 Use the OpenWRT patch from
9 https://dev.openwrt.org/browser/packages/libs/gd/patches/101-gdlib-config.patch
11 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 --- a/config/gdlib-config.in
14 +++ b/config/gdlib-config.in
15 @@ -71,7 +71,7 @@ while test $# -gt 0; do
19 - echo -lgd @LIBS@ @LIBICONV@
24 @@ -84,7 +84,7 @@ while test $# -gt 0; do
25 echo "includedir: $includedir"
26 echo "cflags: -I@includedir@"
27 echo "ldflags: @LDFLAGS@"
28 - echo "libs: @LIBS@ @LIBICONV@"
30 echo "libdir: $libdir"
31 echo "features: @FEATURES@"