From d9dce5c10fe0cff90ba4cb21ffb3149a6a275f28 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Wed, 18 Apr 2012 08:53:30 +0200 Subject: [PATCH] - src/Makefile.am: complete the missing part from svn r2189 --- src/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 3f3d13361..f75837505 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -85,11 +85,16 @@ neutrino_LDADD = \ @AVUTIL_LIBS@ \ $(FLACLIBS) \ $(VORBISLIBS) \ - -lungif \ -ljpeg \ -lOpenThreads \ -lrt -lpthread +if ENABLE_GIFLIB +neutrino_LDADD += -lgif +else +neutrino_LDADD += -lungif +endif + if ENABLE_UPNP neutrino_LDADD += \ $(top_builddir)/lib/libupnpclient/libtuxbox-upnpclient.a