diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2014-01-11 01:25:27 +0100 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2014-02-01 18:22:55 +0100 |
commit | 974a3c0e97b817ca358a959a026db95330673642 (patch) | |
tree | ff9258d87204494f938db56529bf9b5bcfe625f4 /Makefile.in | |
parent | e211654714b2266b80ba65361bda8f715d47933a (diff) |
linux: link ffmpeg statically
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index e62222d061..428b67ccf5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -488,6 +488,17 @@ ifeq ($(findstring freebsd,@ARCH@),freebsd) DYNOBJSXBMC+= xbmc/freebsd/freebsd.a endif +ifeq (@USE_STATIC_FFMPEG@,1) +DYNOBJSXBMC += lib/ffmpeg/libavcodec/libavcodec.a \ + lib/ffmpeg/libavfilter/libavfilter.a \ + lib/ffmpeg/libswresample/libswresample.a \ + lib/ffmpeg/libavformat/libavformat.a \ + lib/ffmpeg/libavutil/libavutil.a \ + lib/ffmpeg/libpostproc/libpostproc.a \ + lib/ffmpeg/libswscale/libswscale.a +LIBS+= @GNUTLS_ALL_LIBS@ @VORBISENC_ALL_LIBS@ +endif + OBJSXBMC:=$(filter-out $(DYNOBJSXBMC), $(OBJSXBMC)) MAINOBJS=xbmc/xbmc.o |