[FFmpeg-devel] Shared libs under mingw32

Måns Rullgård mans
Tue Jan 8 12:22:07 CET 2008

Gonzalo Garramu?o wrote:
> The current configure/Makefile when run under mingw32 with
> --enable-shared creates (if lib.exe is available) avcodec.lib,
> avformat.lib, etc. for linking against the microsoft compiler.
> However, when you actually link against one of those, the resulting
> software actually looks for the full library name, like avformat-51.dll.
> I'm wondering if this is intended.  Shouldn't the .lib file created be
> named like the .dll (ie. avformat-51.lib).  Other projects (libogg,
> libtheora, etc) actually do this and create the .lib file for the actual
> full library name.
> Otherwise, it becomes impossible to know what's the DLL that corresponds
> to a certain .lib file.

This is intentional.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list