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

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Aug 15 08:49:39 CEST 2014


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

> No it won't work because require_pkg_config dies if 
> it fails, so you can fallback after it.

True.

> Of course we can add another require_pkg_config2() 
> that takes some explicit linking flags in addition 
> to the user ones as a fallback.

Sounds useful to me.

> But really that's insane, because I know you will 
> end-up hardcoding all kind of linker flags to 
> these fallback calls,

Yes, some external libraries that never have 
additional dependencies currently depend on pkg-config.

> and this defeat completely the purpose of such 
> simplified code.

I thought the purpose is to allow educated developers 
to use pkg-config while (uneducated) users (like me) 
will not understand how this is easier than using 
configure parameters.

> They will also almost never be tested,

I will care about the testing.
(I hope with your help but if necessary I can do it 
alone.)

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list