summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu/fixedmeson.patch
blob: 9047f66dc3b4505d0dbb0fabca621ff12f82a426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Upstream-Status: Inappropriate [workaround, would need a real fix for upstream]

Index: qemu-8.2.0/configure
===================================================================
--- qemu-8.2.0.orig/configure
+++ qemu-8.2.0/configure
@@ -955,12 +955,7 @@ fi
 $mkvenv ensuregroup --dir "${source_path}/python/wheels" \
      ${source_path}/pythondeps.toml meson || exit 1
 
-# At this point, we expect Meson to be installed and available.
-# We expect mkvenv or pip to have created pyvenv/bin/meson for us.
-# We ignore PATH completely here: we want to use the venv's Meson
-# *exclusively*.
-
-meson="$(cd pyvenv/bin; pwd)/meson"
+meson=`which meson`
 
 # Conditionally ensure Sphinx is installed.