summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-05-29 15:54:38 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-05-29 15:54:38 +0000
commita8183f1b099238d3c8145e950db611cd3d4b55c6 (patch)
tree0fb2326987fb094106e53c78ab2613d3961d7ddf /src
parentabd3b786b6246c8235271bdc37e313e4a18a822a (diff)
downloadxine-lib-a8183f1b099238d3c8145e950db611cd3d4b55c6.tar.gz
xine-lib-a8183f1b099238d3c8145e950db611cd3d4b55c6.tar.bz2
Fixed FreeBSD libgiconv dependencies (Thanks Heiko).
CVS patchset: 1964 CVS date: 2002/05/29 15:54:38
Diffstat (limited to 'src')
-rw-r--r--src/libsputext/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libsputext/Makefile.am b/src/libsputext/Makefile.am
index 528645b46..763684cc4 100644
--- a/src/libsputext/Makefile.am
+++ b/src/libsputext/Makefile.am
@@ -2,10 +2,16 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic
libdir = $(XINE_PLUGINDIR)
-lib_LTLIBRARIES = xineplug_decode_sputext.la
+if HAVE_GICONV
+sputext_decoder = xineplug_decode_sputext.la
+endif
-xineplug_decode_sputext_la_SOURCES = xine_decoder.c
+lib_LTLIBRARIES = $(sputext_decoder)
+
+xineplug_decode_sputext_la_SOURCES = xine_decoder.c
xineplug_decode_sputext_la_LDFLAGS = -avoid-version -module
+## libgiconv is only needed with FreeBSD
+xineplug_decode_sputext_la_LIBADD = $(GICONV_BSD_LIBS)
##
## Install header files (default=$includedir/xine)