From c655c067fbb8db54aab46ebfaa41106348cee763 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 14 Oct 2014 08:45:01 +0200 Subject: [PATCH] Makefile: link avutil twice for static ffmpeg (linker bug?) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0a1b3cd5..e9e6aa0a 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ endif ifeq ($(CONFIG_LIBFFMPEG_STATIC),yes) CFLAGS += -I${ROOTDIR}/libav_static/build/ffmpeg/include LDFLAGS += -L${ROOTDIR}/libav_static/build/ffmpeg/lib -Wl,-Bstatic \ - -lavresample -lswresample -lswscale -lavformat -lavcodec -lavutil \ + -lavresample -lswresample -lswscale -lavutil -lavformat -lavcodec -lavutil \ -lvorbisenc -lvorbis -logg -lx264 -lvpx \ -Wl,-Bdynamic endif