[FFmpeg-devel] [PATCH] Shared library support for MSVC build.

jamal jamrial at gmail.com
Wed Oct 3 23:24:00 CEST 2012


On 03/10/12 6:08 PM, Hendrik Leppkes wrote:
> On Wed, Oct 3, 2012 at 11:01 PM, jamal <jamrial at gmail.com> wrote:
>>
>> Also, by changing LIBSUF to ".lib" you're making the build system overwrite the static libraries created with gnu ar with the shared ones created with lib.exe/dlltool (Or skipping the creation of static libraries altogether if lib.exe/dlltool was run first, since a .lib file would already exist)
>>
> 
> Can't sanely build both static and shared at the same time with MSVC,
> so this is not an issue.

It is with Mingw. I don't have MSVC so i only tested with mingw, and that line is preventing the creation of static libs when also building shared libs.

Regards.


More information about the ffmpeg-devel mailing list