From: Diego Biurrun Date: Sat, 27 Apr 2013 12:51:27 +0000 (+0200) Subject: build: output-example: Add avutil to ELIBS in link command X-Git-Tag: v9.21~6 X-Git-Url: https://git.libav.org/?p=libav.git;a=commitdiff_plain;h=0f8b3f17114f75cde68b6848c8f1437f7fdce44e 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. (cherry picked from commit 4d7ed3e73541983459a7913c2034eba69ebc113d) Signed-off-by: Diego Biurrun --- diff --git a/libavformat/Makefile b/libavformat/Makefile index 2553b8d312..9b6a23b8fb 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -385,4 +385,4 @@ TOOLS = aviocat \ pktdumper \ probetest \ -$(SUBDIR)output-example$(EXESUF): ELIBS = $(patsubst %,$(LD_LIB),swscale) +$(SUBDIR)output-example$(EXESUF): ELIBS = $(patsubst %,$(LD_LIB),swscale avutil)