[FFmpeg-devel] Fix libx264

Felipe Contreras felipe.contreras
Tue Feb 23 12:57:43 CET 2010

2010/2/20 M?ns Rullg?rd <mans at mansr.com>:
> Felipe Contreras <felipe.contreras at gmail.com> writes:
>>>> So you are wrong; pkg-config is not flawed.
>>> Yes it is. ?It can only provide specific flags, which is not
>>> sufficient information, and may even break things if a different
>>> compiler is used.
>> You don't need different flags if you use a different compiler,
> That's the silliest claim I've read all week. ?I have a number of
> compilers here, all targeting Linux/ARM, with totally incompatible
> flags.

They all support -l${library} don't they? Otherwise the current
"require  libx264 x264.h x264_encoder_encode -lx264 -lm" wouldn't
work. Therefore they all support -lpthread, or whatever pkg-config

>> you need different flags if you use a different system,
> The compiler is part of the system. ?Ergo, using a different means
> using a different system.

No. I have a Fedora system in my PC, and I can use gcc or clang. Same
system, different compiler.

>> but pkg-config is meant to be used on the same system. So there are
>> no problems.
> You really have no clue at all.

Your definition of "system" must be different than the rest of the world then.

Felipe Contreras

More information about the ffmpeg-devel mailing list