[FFmpeg-devel] [PATCH]Do not require pkg-config for libx265

Carl Eugen Hoyos cehoyos at ag.or.at
Mon May 26 12:46:58 CEST 2014


On Monday 26 May 2014 12:22:03 pm Clément Bœsch wrote:
> So well, it's all about:

Yes;-)

>   PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --enable-foobar
>
> vs:
>
>   ./configure --extra-cflags='-I/usr/local/include'
> --extra-ldflags='-L/usr/local/lib' --enable-foobar
>
> I'm not sure how "more difficult" the first one is over the second one.

If it were only me, I wouldn't argue. Given the user reports I see I would say 
it is infinitely more difficult.
This is made worse by the fact that we don't require (and don't support) it 
for nearly all external libraries since forever.

> So are you sure librt is always a requirement?

It isn't afaict, so please ignore the second patch, the first one is 
correct afaict.

(And yes, the fact that the pc file seems broken is just one more reason not 
to rely on it if at all possible. Or am I wrong and it is not broken?)

Carl Eugen


More information about the ffmpeg-devel mailing list