[Libav-user] dependency on external libs on Mac

Carl Eugen Hoyos cehoyos at ag.or.at
Sun May 11 17:46:29 CEST 2014

YIRAN LI <mrfun.china at ...> writes:

> Is there any way to configure so that each component 
> only links with libspeex if it really uses it? I 
> tried --extra-ldflags="-Wl,--as-needed"

FFmpeg's configure script already tried this option 
but clang / llvm does not support it;-(

The problem is even more visible with SDL, if you 
have it installed but disable the sdl output 
device (and ffplay), the final ffmpeg executable 
still depends on libsdl although the library does 
not resolve any symbol.

I don't know how to fix this.

Carl Eugen

More information about the Libav-user mailing list