[FFmpeg-cvslog] build: output-example: Add avutil to ELIBS in link command

Diego Biurrun git at videolan.org
Sun May 5 12:00:50 CEST 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Apr 27 14:51:27 2013 +0200| [4d7ed3e73541983459a7913c2034eba69ebc113d] | committer: Diego Biurrun

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d7ed3e73541983459a7913c2034eba69ebc113d
---

 libavformat/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/Makefile b/libavformat/Makefile
index 110e683..d459bdf 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)



More information about the ffmpeg-cvslog mailing list