X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=tools%2Fdosfstools%2Fpatches%2F0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch;fp=tools%2Fdosfstools%2Fpatches%2F0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch;h=72a932dfd53d3a5eb1fcb77c3915d712ab717c56;hb=4bbc6fb7b7e78496bf08f0d3a80c0e8f15bfe244;hp=0000000000000000000000000000000000000000;hpb=87b2b89959e0cfed7946a3712355642395750ca9;p=openwrt%2Fopenwrt.git diff --git a/tools/dosfstools/patches/0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch b/tools/dosfstools/patches/0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch new file mode 100644 index 0000000000..72a932dfd5 --- /dev/null +++ b/tools/dosfstools/patches/0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch @@ -0,0 +1,27 @@ +From 1c6c135ee15e449c1bf2e76d5307f83a3a1d7425 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= +Date: Tue, 11 Oct 2016 12:07:48 +0200 +Subject: [PATCH] Switch to AC_CHECK_LIB for iconv library linking. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +AC_SEARCH_LIB doesn't work properly for openwrt/lede when building dosfstools +as a package. + +Signed-off-by: Álvaro Fernández Rojas +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/configure.ac ++++ b/configure.ac +@@ -59,7 +59,7 @@ if test "x$with_udev" != "xno"; then + [true]) + fi + +-AC_SEARCH_LIBS(iconv_open, iconv) ++AC_CHECK_LIB(iconv, iconv_open) + + AC_CONFIG_FILES([Makefile src/Makefile src/version.h + manpages/Makefile manpages/mkfs.fat.8