1
0

0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch 846 B

123456789101112131415161718192021222324252627
  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. AC_SEARCH_LIB doesn't work properly for openwrt/lede when building dosfstools
  9. as a package.
  10. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
  11. ---
  12. configure.ac | 2 +-
  13. 1 file changed, 1 insertion(+), 1 deletion(-)
  14. --- a/configure.ac
  15. +++ b/configure.ac
  16. @@ -59,7 +59,7 @@ if test "x$with_udev" != "xno"; then
  17. [true])
  18. fi
  19. -AC_SEARCH_LIBS(iconv_open, iconv)
  20. +AC_CHECK_LIB(iconv, iconv_open)
  21. AC_CONFIG_FILES([Makefile src/Makefile src/version.h
  22. manpages/Makefile manpages/mkfs.fat.8