diff --git a/configure.ac b/configure.ac index f073eeaa9..60006a834 100644 --- a/configure.ac +++ b/configure.ac @@ -136,6 +136,7 @@ TUXBOX_APPS_LIB_PKGCONFIG(AVCODEC,libavcodec) TUXBOX_APPS_LIB_PKGCONFIG(AVUTIL,libavutil) TUXBOX_APPS_LIB_PKGCONFIG(SWRESAMPLE,libswresample) TUXBOX_APPS_LIB_PKGCONFIG(SWSCALE,libswscale) + if test "$BOXTYPE" = "coolstream"; then TUXBOX_APPS_LIB_PKGCONFIG(BLURAY,libbluray) fi diff --git a/src/Makefile.am b/src/Makefile.am index a19263939..3ec8d7488 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -121,6 +121,7 @@ neutrino_LDADD = \ @AVFORMAT_LIBS@ \ @AVUTIL_LIBS@ \ @AVCODEC_LIBS@ \ + @SWSCALE_LIBS@ \ $(ADEC_LIBS) \ @SIGC_LIBS@ \ $(PUGIXML_LIBS) \ @@ -194,15 +195,6 @@ neutrino_LDADD += \ $(top_builddir)/src/lcddisplay/liblcddisplay.a endif -neutrino_LDADD += \ - @AVFORMAT_LIBS@ \ - @AVUTIL_LIBS@ \ - @AVCODEC_LIBS@ - -if BOXTYPE_ARMBOX - @SWSCALE_LIBS@ -endif - if BOXMODEL_RASPI neutrino_LDADD += \ -L/opt/vc/lib/ -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt