[FFmpeg-devel] [PATCH] Make better pkg-config files

Diego Biurrun diego
Mon Dec 17 10:19:08 CET 2007


On Fri, Dec 14, 2007 at 09:12:39AM +0100, Diego 'Flameeyes' Petten? wrote:
> 
> Attached patch cleaned (/me starts thinking of using stgit).

Hmmmm

> --- configure	(revision 11213)
> +++ configure	(working copy)
> @@ -2072,16 +2072,17 @@
>  prefix=$PREFIX
>  exec_prefix=\${prefix}
> -libdir=\${exec_prefix}/lib
> -includedir=\${prefix}/include
> +libdir=$libdir
> +shlibdir=$shlibdir
> +includedir=$incdir
>  
>  Name: $name
>  Description: $comment
>  Version: $version
>  Requires: $requires
>  Conflicts:
> -Libs: -L\${libdir} $libs
> -Cflags: -I\${includedir} -I\${includedir}/$include
> +Libs: -L\${libdir} -L\${shlibdir} $libs
> +Cflags: -I\${includedir}

The includedir/libdir change is probably right, I'm not sure about
shlibdir though.

Diego




More information about the ffmpeg-devel mailing list