[FFmpeg-devel] [PATCH] Use pkg-config for libschroedinger libs

Uoti Urpala uoti.urpala
Mon May 12 14:01:53 CEST 2008


On Mon, 2008-05-12 at 12:14 +0100, M?ns Rullg?rd wrote:
> That's irrelevant.  As long as pkg-config isn't mandated by
> POSIX, we should assume it might not be there.  I sure wouldn't
> have it installed if it weren't for the occasional package
> that refuses to build without it.

Any other libraries that FFmpeg wants to link against can still require
using pkg-config as part of their API. If pkg-config is the official way
to get the compiler flags then the flags can potentially change at every
minor library update and any hardcoded logic to add them in the FFmpeg
configure script without using pkg-config would be wrong.

I didn't find any explicit statement about the supported method(s) of
linking against libschroedinger, but given that its source tree has .pc
files and no mention about what explicit flags would be supported using
pkg-config does look like the official way. The Debian
libschroedinger-dev package also has "Depends: pkg-config".





More information about the ffmpeg-devel mailing list