[FFmpeg-devel] [PATCH 3/4] Fix -uninstalled.pc pkg-config files to have the correct include path.

Måns Rullgård mans
Sun Sep 28 15:24:28 CEST 2008


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.
> ---
>
>  configure |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure b/configure
> index f1c3c69..fd2eb91 100755
> --- a/configure
> +++ b/configure
> @@ -2251,7 +2251,7 @@ cat <<EOF > $name/$name-uninstalled.pc
>  prefix=
>  exec_prefix=
>  libdir=\${pcfiledir}
> -includedir=\${pcfiledir}/..
> +includedir=${source_path}

OK

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list