]> git.proxmox.com Git - mirror_qemu.git/commitdiff
scripts: Mark feature_to_c.py as non-executable to fix a build issue
authorThomas Huth <thuth@redhat.com>
Mon, 16 Oct 2023 09:49:17 +0000 (11:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Oct 2023 13:20:53 +0000 (15:20 +0200)
Meson tries to run scripts via the shebang line if they files are
marked as executable. If "python3" is not in the $PATH, or if it
is a version that is too old, then the script execution fails.
We should make sure to run scripts via the python3 interpreter
that is used for Meson itself. For this, the files need to be marked
as non-executable, then meson will use the python3 binary that has
been used to run itself.

Fixes: 956af7daad ("gdbstub: Introduce GDBFeature structure")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231016094917.19044-1-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/feature_to_c.py [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)