[FFmpeg-devel] [PATCH 2/3] build: rely on pkg-config for libx264 probing

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Aug 28 15:18:55 CEST 2014

Clément Bœsch <u <at> pkh.me> writes:

> > Did you try the patch with pkg-config only detection?
> > 
> > And try to add --pkg-config=true to trick the detect function.
> So, I did try myself

Sorry, I was away and still didn't test all new 

> [~/src/ffmpeg]☭ dash ./configure --disable-everything 
> --enable-gpl --enable-libx264 --pkg-config=/bin/true

> --extra-ldflags=-lx264

The extra-ldflags should not be necessary.

I still wonder why --pkg-config=/bin/true is 
necessary: If another version (than the one intended 
by the user) is found then he has a bad system 
installation (and has to use above work-around). 
But if no installation can be found, the work-around 
should be tested by configure.

Carl Eugen

More information about the ffmpeg-devel mailing list