[FFmpeg-devel] Create .lib static libraries on Windows instead of .a libraries (using MSVC compiler)

Mateusz mateuszb at poczta.onet.pl
Wed Sep 27 23:11:21 EEST 2017

W dniu 2017-09-27 o 17:40, Hendrik Leppkes pisze:
> On Wed, Sep 27, 2017 at 4:43 PM, Anonymous Maarten
> <anonymous.maarten at gmail.com> wrote:
>> Hey,
>> Building the static ffmpeg library using vcpkg is currently broken [1][2].
>> This is mainly due to the fact that the built static libraries are .a files
>> with lib prefixes.
>> The attached patch sets the lib prefix to "" and the lib suffix to ".lib".
>> Tested by building ffmpeg using vcpkg and Visual Studio 2017 Community
>> Edition on Windows 10.
>> The resulted libraries link correctly to my application.
> This would break the workflow for everyone that is currently working
> with the current names, however.

For gcc it breaks nothing (it still makes lib...a files), for msvc it is improvement.
Is there any person happy with lib...a names for lib in msvc?


More information about the ffmpeg-devel mailing list