[FFmpeg-devel] [PATCH] build: add configure option pkgconfigdir

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Fri May 29 15:35:20 CEST 2015

On 29.05.2015 13:52, Ingo Brückl wrote:
> This allows the user to override the directory for the installation
> of the pkg-config files (from the default /usr/lib/pkgconfig).
> It follows the usual behaviour of Makefiles generated by automake.
> Signed-off-by: Ingo Brückl <ib at wupperonline.de>
> diff --git a/configure b/configure
> old mode 100755
> new mode 100644
> index a90fef1..f2d2386
> --- a/configure
> +++ b/configure
> @@ -87,6 +87,7 @@ Standard options:
>    --shlibdir=DIR           install shared libs in DIR [LIBDIR]
>    --incdir=DIR             install includes in DIR [PREFIX/include]
>    --mandir=DIR             install man page in DIR [PREFIX/share/man]
> +  --pkgconfigdir=DIR       install pkg-config files in DIR [PREFIX/lib/pkgconfig]

Please keep the default what it was previously, i.e. LIBDIR/pkgconfig,
similar to how it is done for shlibdir, which defaults to LIBDIR.
That is, if one configures with --libdir=SOMEDIR the pkg-config files
should be installed into SOMEDIR/pkgconfig without the need to specifiy
pkgconfigdir explicitly.

Best regards,

More information about the ffmpeg-devel mailing list