[FFmpeg-devel] Create .lib static libraries on Windows instead of .a libraries (using MSVC compiler)
Anonymous Maarten
anonymous.maarten at gmail.com
Wed Sep 27 17:43:49 EEST 2017
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.
[1]
https://github.com/Microsoft/vcpkg/blob/084b1afe9af1690916fab95bbb80c6891109f0fc/ports/ffmpeg/portfile.cmake#L1-L4
[2] https://github.com/Microsoft/vcpkg/issues/1821
Maarten,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-create-.lib-static-libraries-using-MSVC-co.patch
Type: application/octet-stream
Size: 764 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170927/4d0d4712/attachment.obj>
More information about the ffmpeg-devel
mailing list