lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch (847B)


      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  # xxd (distributed with vim) is used in the testsuite
     27  AC_CHECK_PROG([XXD_FOUND], [xxd], [yes])