aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-27 14:51:27 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-04 21:19:49 +0200
commit4d7ed3e73541983459a7913c2034eba69ebc113d (patch)
tree5305454c204c95609777b201a91d29816e39401c
parente445647b4fdf481b13b2743b303d84de4f43bedd (diff)
downloadffmpeg-4d7ed3e73541983459a7913c2034eba69ebc113d.tar.gz
build: output-example: Add avutil to ELIBS in link command
output-example links against swscale, which depends on avutil. In standard configurations, by pure good luck, the libs before swscale pull in all of swscale's dependencies and linking succeeds. However, in some configurations like --disable-asm this is not the case and linking fails. Hardcode the dependency to avoid a more general Makefile refactoring.
-rw-r--r--libavformat/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/Makefile b/libavformat/Makefile
index 110e683b2e..d459bdf215 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -390,4 +390,4 @@ TOOLS = aviocat \
pktdumper \
probetest \
-$(SUBDIR)output-example$(EXESUF): ELIBS = $(patsubst %,$(LD_LIB),swscale)
+$(SUBDIR)output-example$(EXESUF): ELIBS = $(patsubst %,$(LD_LIB),swscale avutil)