qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] configure: Fix pkg_config --exists parameter


From: Dr. David Alan Gilbert
Subject: Re: [PATCH] configure: Fix pkg_config --exists parameter
Date: Wed, 4 Mar 2020 17:42:17 +0000
User-agent: Mutt/1.13.3 (2020-01-12)

* Liran Alon (address@hidden) wrote:
> pkg_config parameter should be "--exists", not "--exist".
> This is probably a typo.
> 
> Fixes: 3a67848134d0 ("configure: Enable test and libs for zstd")
> Reviewed-by: Bhavesh Davda <address@hidden>
> Signed-off-by: Liran Alon <address@hidden>

That's the same as address@hidden from
Denis yesterday.

Dave

> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 50c4d96e2a8c..280f3654f786 100755
> --- a/configure
> +++ b/configure
> @@ -2464,7 +2464,7 @@ fi
>  # zstd check
>  
>  if test "$zstd" != "no" ; then
> -    if $pkg_config --exist libzstd ; then
> +    if $pkg_config --exists libzstd ; then
>          zstd_cflags="$($pkg_config --cflags libzstd)"
>          zstd_libs="$($pkg_config --libs libzstd)"
>          LIBS="$zstd_libs $LIBS"
> -- 
> 2.20.1
> 
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK




reply via email to

[Prev in Thread] Current Thread [Next in Thread]