[Libav-user] How can ffmpeg link to static libraries?

YIRAN LI mrfun.china at gmail.com
Wed May 15 09:06:05 CEST 2013


Hi all,

I'm building ffmpeg in MinGW with --enable-share --disable-static (I want
to generate Dlls).

I also enabled libtheora, wihch is configured with --enable-static
--enable-shared. (libtheora.a libtheora.dll.a & libtheora-0.dll generated)

I built libtheora first and then ffmpeg, build succeeded. But when I run
generated ffmpeg.exe
it still requires libtheora.dll. So I'd like to know, if there's anyway to
statically compile libtheora code into ffmpeg executables or dlls?

Great thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130515/18b3593e/attachment.html>


More information about the Libav-user mailing list