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

Måns Rullgård mans
Sat Jun 28 03:09:21 CEST 2008


Kees Blom <Kees.Blom at cwi.nl> writes:

> Hello,
>
> now that pkg-config files libav*/*.pc have moved into their own
> sub-directories, when using "pkg-config --libs libvacodec" etc.
> with PKG_CONFIG_PATH  pointing to these new locations,
> the library location returned by pkg-config is incorrect because
> the content of the lib*-unstalled.pc files has not been adapted
> to these new locations.
>
> Here's patch for ./configure to correct this.
>
> Kees Blom.
>
> Index: configure
> ===================================================================
> --- configure   (revision 13958)
> +++ configure   (working copy)
> @@ -2211,7 +2211,7 @@
>  cat <<EOF > $name/$name-uninstalled.pc
>  prefix=
>  exec_prefix=
> -libdir=\${pcfiledir}/$name
> +libdir=\${pcfiledir}

If that is right, ...

>  includedir=\${pcfiledir}

then that is wrong.

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




More information about the ffmpeg-devel mailing list