[FFmpeg-devel] [PATCH] fix $(PREFIX) references in pkgconfig files

Stefano Sabatini stefano.sabatini-lala
Sat May 10 21:02:55 CEST 2008


On date Tuesday 2008-05-06 08:46:58 +0300, Anssi Hannula encoded:
> By default $libdir and $incdir reference $(PREFIX), which in .pc files
> should be ${prefix}.
> 
> I'm not sure of the best way to handle this, but attached is a simple
> patch sed'ing the .pc files.
> 
> -- 
> Anssi Hannula

> Index: configure
> ===================================================================
> --- configure	(revision 13065)
> +++ configure	(working copy)
> @@ -2148,6 +2148,7 @@
>  Libs: -L\${libdir} -l${shortname} $libs
>  Cflags: -I\${includedir}
>  EOF
> +apply $name.pc sed s,\$\(PREFIX\),\${prefix},
>  cat <<EOF >$name-uninstalled.pc
>  prefix=
>  exec_prefix=

Hi, please could you fix it, this breaks commandlines/Makefiles using
pkg-config and libav.

Regards.
-- 
FFmpeg = Fucked & Friendly MultiPurpose EnGine




More information about the ffmpeg-devel mailing list