72a932dfd53d3a5eb1fcb77c3915d712ab717c56
[openwrt/openwrt.git] / tools / dosfstools / patches / 0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch
1 From 1c6c135ee15e449c1bf2e76d5307f83a3a1d7425 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Tue, 11 Oct 2016 12:07:48 +0200
4 Subject: [PATCH] Switch to AC_CHECK_LIB for iconv library linking.
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 AC_SEARCH_LIB doesn't work properly for openwrt/lede when building dosfstools
10 as a package.
11
12 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
13 ---
14 configure.ac | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 --- a/configure.ac
18 +++ b/configure.ac
19 @@ -59,7 +59,7 @@ if test "x$with_udev" != "xno"; then
20 [true])
21 fi
22
23 -AC_SEARCH_LIBS(iconv_open, iconv)
24 +AC_CHECK_LIB(iconv, iconv_open)
25
26 AC_CONFIG_FILES([Makefile src/Makefile src/version.h
27 manpages/Makefile manpages/mkfs.fat.8