aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-05-15 14:53:30 +0200
committerJanne Grunau <janne-libav@jannau.net>2014-05-15 17:53:55 +0200
commit5e2ba41d4b94de1fa5267081d6c4b6b262c8d86f (patch)
treea905db4971e1e29b31624cdbeb5005fab173dfab /Makefile
parent3b2fbe67bd63b00331db2a9b213f6d420418a312 (diff)
downloadffmpeg-5e2ba41d4b94de1fa5267081d6c4b6b262c8d86f.tar.gz
build: add avresample after avcodec to FFLIBS
avcodec might depend on avresample and with --as-needed required symbols might be get removed if avresample is linked before avcodec. Fixes link failures of avprobe and avplay on aarch64 with --enable-neon-clobber-test.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index fd605218cf..71c068ca0e 100644
--- a/Makefile
+++ b/Makefile
@@ -83,12 +83,13 @@ HOSTPROGS := $(TESTTOOLS:%=tests/%) doc/print_options
TOOLS = qt-faststart trasher
TOOLS-$(CONFIG_ZLIB) += cws2fws
-FFLIBS-$(CONFIG_AVDEVICE) += avdevice
-FFLIBS-$(CONFIG_AVFILTER) += avfilter
-FFLIBS-$(CONFIG_AVFORMAT) += avformat
+# $(FFLIBS-yes) needs to be in linking order
+FFLIBS-$(CONFIG_AVDEVICE) += avdevice
+FFLIBS-$(CONFIG_AVFILTER) += avfilter
+FFLIBS-$(CONFIG_AVFORMAT) += avformat
+FFLIBS-$(CONFIG_AVCODEC) += avcodec
FFLIBS-$(CONFIG_AVRESAMPLE) += avresample
-FFLIBS-$(CONFIG_AVCODEC) += avcodec
-FFLIBS-$(CONFIG_SWSCALE) += swscale
+FFLIBS-$(CONFIG_SWSCALE) += swscale
FFLIBS := avutil