[FFmpeg-devel] [PATCH] create all pkg-config files in their own subdirectory

Måns Rullgård mans
Sat Jun 28 13:13:40 CEST 2008

Jack Jansen <Jack.Jansen at cwi.nl> writes:

> On  28-Jun-2008, at 03:09 , M?ns Rullg?rd wrote:
>>> -libdir=\${pcfiledir}/$name
>>> +libdir=\${pcfiledir}
>> If that is right, ...
>>> includedir=\${pcfiledir}
>> then that is wrong.
> No: the pattern seems to be to do
> 	#include "libavcodec/avcodec.h"
> currently. That was different in the past, IIRC, but nowadays this is
> what most ffmpeg code uses.

Yes, that is how #include directives should look.  Assuming
${pcfiledir} is the directory containing the .pc file, supplying
-I${pcfiledir} is wrong when the .pc file is in the same directory as

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list