Re: [spice-common] build-sys: Use ${PKG_CONFIG} rather than pkg-config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ACK


On Wed, 2015-10-07 at 16:27 +0200, Christophe Fergeau wrote:
> In mingw builds, this will be set to mingw-pkg-config rather than the
> host system one. This is fixing a build failure on mingw when
> spice-protocol is only installed in the mingw prefix and not
> system-wide.
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 98311bf..6516c20 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -29,7 +29,7 @@ SPICE_CHECK_SYSDEPS
>  
>  # Checks for libraries
>  PKG_CHECK_MODULES([PROTOCOL], [spice-protocol >= 0.12.10])
> -CODE_GENERATOR_BASEDIR=`pkg-config --variable=codegendir spice-protocol`
> +CODE_GENERATOR_BASEDIR=`${PKG_CONFIG} --variable=codegendir spice-protocol`
>  AC_SUBST([CODE_GENERATOR_BASEDIR])
>  
>  SPICE_CHECK_PYTHON_MODULES()


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]