On Sat, Apr 27, 2013 at 02:55:54PM +0200, Diego Biurrun wrote: > output-example links against swscale, which depends on avutil. Add this > dependency manually to avoid reworking the Makefiles for a single case. > --- a/libavformat/Makefile > +++ b/libavformat/Makefile > @@ -390,4 +390,4 @@ TOOLS = aviocat > \ > > -$(SUBDIR)output-example$(EXESUF): ELIBS = $(patsubst %,$(LD_LIB),swscale) > +$(SUBDIR)output-example$(EXESUF): ELIBS = $(patsubst %,$(LD_LIB),swscale > avutil)
This fixes example build with --disable-asm. swscale depends on avutil, so -lswscale at the end of the linking command line fails w/o -lavutil after it. Unless the libs before -lswscale on the command line pull in the symbols that swscale requires from avutil. By sheer good luck that is the case in the standard configuration. In other configurations, like --disable-asm, this is not the case and linking fails. I guess I could write some of that into the log message... Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
