[FFmpeg-devel] Shared libs under mingw32

Gonzalo Garramuño ggarra
Tue Jan 8 12:22:04 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 the patch I am proposing.



-- 
Gonzalo Garramu?o
ggarra at advancedsl.com.ar

AMD4400 - ASUS48N-E
GeForce7300GT
Xubuntu Gutsy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.patch
Type: text/x-patch
Size: 891 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080108/f04caa82/attachment.bin>



More information about the ffmpeg-devel mailing list