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

Måns Rullgård mans
Mon May 12 14:13:02 CEST 2008

JonY wrote:
> M?ns Rullg?rd wrote:
>> j at v2v.cc wrote:
>>> On Mon, 2008-05-12 at 11:39 +0100, M?ns Rullg?rd wrote:
>>>> It's a simple matter to copy libs from one system to another.
>>> why would you not do the same with ffmpeg in that case?
>> Perhaps because FFmpeg doesn't require pkg-config.
>>>>> also pkg-config is used in the line above for cflags,
>>>>> the patch just fixes one missing use of pkg-config
>>>> Two wrongs don't make a right.
>>> just pointing it out, leaving it like it is now sure is the worst
>>> solution.
>>> a) use pkg-config and use it in all cases
>>> b) dont use pkg-config at all
>>> the patch fixes configure to conform to a)
>>> you propose b) instead?
>>> what are those systems without pkg-config if i may ask?
>> 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.
> Hi,
> In your opinion, what is the cleanest fix for systems without pkg-config
> or systems which link to dependant libraries but with different names.

I'll have to think about it.

> Schrodinger headers are not installed in standard areas where they can
> be just picked up by the compiler without adding some "-I"s or some
> modification to the headers themselves.

So fix the libschrodinger header locations.  You'd be doing everybody
a favour.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list