[FFmpeg-devel] [PATCH 3/4] Fix -uninstalled.pc pkg-config files to have the correct include path.
Diego Biurrun
diego
Sun Sep 28 16:16:54 CEST 2008
On Sun, Sep 28, 2008 at 02:24:28PM +0100, M?ns Rullg?rd wrote:
> Diego 'Flameeyes' Petten? <flameeyes at gmail.com> writes:
>
> > While -uninstalled pkg-config files are quite useful for building
> > against a live version of FFmpeg, they currently provide the wrong
> > include path for out-of-tree builds. This because the pkg-config file
> > is then created in a different path, where the header files are not
> > present at all.
> >
> > This patch changes the way the pkg-config is generated so that it
> > actually uses the FFmpeg source path, so that the -uninstalled
> > pkg-config works for out-of-tree builds too.
> >
> > --- a/configure
> > +++ b/configure
> > @@ -2251,7 +2251,7 @@ cat <<EOF > $name/$name-uninstalled.pc
> > exec_prefix=
> > libdir=\${pcfiledir}
> > -includedir=\${pcfiledir}/..
> > +includedir=${source_path}
>
> OK
Feel free to apply.
Diego
More information about the ffmpeg-devel
mailing list