On Fri, Sep 19, 2025 at 05:33:13PM +0400, marcandre.lur...@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lur...@redhat.com>


Please actually the reason why the change is needed. The code
change seems related to msys2 / Windows, but our CI is already
covering this and so what's broken ?


> Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
> ---
>  configure | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 8d84e3c5c0..7b1795ab29 100755
> --- a/configure
> +++ b/configure
> @@ -1000,7 +1000,19 @@ $mkvenv ensuregroup --dir 
> "${source_path}/python/wheels" \
>  # We ignore PATH completely here: we want to use the venv's Meson
>  # *exclusively*.
>  
> -meson="$(cd pyvenv/bin; pwd)/meson"
> +# for msys2
> +get_pwd() {
> +    if pwd -W >/dev/null 2>&1; then
> +        pwd -W
> +    else
> +        pwd
> +    fi
> +}
> +
> +meson="$(cd pyvenv/bin; get_pwd)/meson"
> +if [ -f "$meson$EXESUF" ]; then
> +  meson="$meson$EXESUF"
> +fi
>  
>  # Conditionally ensure Sphinx is installed.
>  
> -- 
> 2.51.0
> 

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


Reply via email to