aboutsummaryrefslogtreecommitdiffstats
path: root/main/wavpack/iconv-underlinking.patch
blob: 1d920a1905b5f39c61bf2d7aec7921f0cb89afc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- ./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 \