From c337ec2b019a51e3d425272fb07b58c7c534d085 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 25 May 2013 21:10:38 +0200 Subject: [PATCH] fix build with --as-needed enabled linkers Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/17986f6b1534b5a497c123ecb594aaaef3719058 Author: Stefan Seyfried Date: 2013-05-25 (Sat, 25 May 2013) --- src/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 8a18e6cec..fa6fdbb34 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -93,10 +93,6 @@ neutrino_LDADD = \ @MAD_LIBS@ \ @ID3TAG_LIBS@ \ @LIBCS_LIBS@ \ - @AVFORMAT_LIBS@ \ - @AVUTIL_LIBS@ \ - @AVCODEC_LIBS@ \ - @SWSCALE_LIBS@ \ $(FLACLIBS) \ $(VORBISLIBS) \ -ldvbsi++ \ @@ -149,3 +145,9 @@ neutrino_LDADD += \ $(top_builddir)/src/lcddisplay/liblcddisplay.a \ @DIRECTFB_LIBS@ endif + +neutrino_LDADD += \ + @AVFORMAT_LIBS@ \ + @AVUTIL_LIBS@ \ + @AVCODEC_LIBS@ \ + @SWSCALE_LIBS@