From a8183f1b099238d3c8145e950db611cd3d4b55c6 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 29 May 2002 15:54:38 +0000 Subject: Fixed FreeBSD libgiconv dependencies (Thanks Heiko). CVS patchset: 1964 CVS date: 2002/05/29 15:54:38 --- src/libsputext/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.3