Browse Source

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.
tags/n2.0
Diego Biurrun 12 years ago
parent
commit
4d7ed3e735
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/Makefile

+ 1
- 1
libavformat/Makefile View File

@@ -390,4 +390,4 @@ TOOLS = aviocat \
pktdumper \ pktdumper \
probetest \ probetest \


$(SUBDIR)output-example$(EXESUF): ELIBS = $(patsubst %,$(LD_LIB),swscale)
$(SUBDIR)output-example$(EXESUF): ELIBS = $(patsubst %,$(LD_LIB),swscale avutil)

Loading…
Cancel
Save