--- ./cli/Makefile.am.orig
+++ ./cli/Makefile.am
@@ -2,15 +2,15 @@
 
 wavpack_SOURCES = wavpack.c utils.c md5.c
 wavpack_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/include
-wavpack_LDADD = $(AM_LDADD) $(top_builddir)/src/.libs/libwavpack.la $(LIBM)
+wavpack_LDADD = $(AM_LDADD) $(top_builddir)/src/.libs/libwavpack.la $(LIBM) $(ICONV_LIBS)
 
 wvunpack_SOURCES = wvunpack.c utils.c md5.c
 wvunpack_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/include
-wvunpack_LDADD = $(AM_LDADD) $(top_builddir)/src/.libs/libwavpack.la $(LIBM)
+wvunpack_LDADD = $(AM_LDADD) $(top_builddir)/src/.libs/libwavpack.la $(LIBM) $(ICONV_LIBS)
 
 wvgain_SOURCES = wvgain.c utils.c
 wvgain_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/include
-wvgain_LDADD = $(AM_LDADD) $(top_builddir)/src/.libs/libwavpack.la $(LIBM)
+wvgain_LDADD = $(AM_LDADD) $(top_builddir)/src/.libs/libwavpack.la $(LIBM) $(ICONV_LIBS)
 
 noinst_HEADERS = \
 	utils.h \
