[FFmpeg-devel] [PATCH] Use pkg-config for x264

Måns Rullgård mans
Sun Nov 22 14:00:24 CET 2009

pross at xvid.org writes:

> On Sun, Nov 22, 2009 at 12:28:16PM +0000, M?ns Rullg?rd wrote:
>> Felipe Contreras <felipe.contreras at gmail.com> writes:
>> > On Sat, Nov 21, 2009 at 7:39 PM, Vitor Sessak <vitor1001 at gmail.com> wrote:
>> >> If I remember well, the build system maintainers prefer to avoid pkg-config
>> >> when possible. Does it fix any bugs?
>> >
>> > Well, I see at least two occurrences already. If I have libx264
>> > installed into /opt/x264 it's very easy to just use pkg-config to
>> > figure out the right flags to make use of it.
>> You could also set C_INCLUDE_PATH and LIBRARY_PATH and be done with
>> it, no change needed.
> Agree. Also how does the pkg-config magic determine which target arch/os
> you are compiling to?

It guesses.  Wrongly.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list