--- configure.in.orig	2018-06-26 17:21:54.000000000 +0800
+++ configure.in	2019-02-13 16:11:00.378262500 +0800
@@ -179,6 +179,7 @@
 	AM_ICONV
 	AC_DEFINE(USE_ICONV,1,[Define to 1 if iconv-libraries should be used])
 	CF_ADD_LIBS($LIBICONV)
+	AM_LDFLAGS = -liconv
 	EXTRASRCS="$EXTRASRCS luitconv.c  builtin.c"
 	EXTRAOBJS="$EXTRAOBJS luitconv\$o builtin\$o"
 fi
