[FFmpeg-devel] [PATCH]Do not require pkg-config for libx265
qyot27 at gmail.com
Mon May 26 17:29:12 CEST 2014
On Mon, May 26, 2014 at 11:12 AM, Derek Buitenhuis
<derek.buitenhuis at gmail.com> wrote:
> On 5/26/2014 2:09 PM, Carl Eugen Hoyos wrote:
>> probably just a user error on my side not knowing
>> that the non-shared installation is unsupported
>> with pkg-config.
> It is supported with --pkg-config-flags=--static, or should be.
> If it's not, it's a bug in x265's build system and they need to fix it.
Simply as confirmation, --pkg-config-flags="--static" is all that's
necessary. My entire cross-compilation dependency chain
for FFmpeg and mpv is fully static, and using pkg-config-flags
to inject --static makes static builds of x265 link just fine.
Windows just happens to make the issue more visible since
fully static builds are so common there. It's also needed for
SDL, librtmp, libmodplug, libschroedinger, and fontconfig to
More information about the ffmpeg-devel