]> git.ipfire.org Git - thirdparty/qemu.git/commit
configure: quote -D options that are passed through to meson
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 May 2024 10:48:22 +0000 (12:48 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 27 May 2024 04:37:34 +0000 (07:37 +0300)
commit52d96ce37da898b7febdb8bde3943dc7ab00be6a
tree5df97104c1ac7f6e7557dd11d6311c151e5f1d3d
parent6cb4afc418f11b1b9b56240b562762cccb1d8c8a
configure: quote -D options that are passed through to meson

Ensure that they go through unmodified, instead of removing one layer
of quoting.

-D is a pretty specialized option and most options that can have spaces
do not need it (for example, c_args is covered by --extra-cflags).
Therefore it's unlikely that this causes actual trouble.  However,
a somewhat realistic failure case would be with -Dpkg_config_path
and a pkg-config directory that contains spaces.

Cc: qemu-stable@nongnu.org
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 23b1f53c2c8990ed745acede171e49645af3d6d0)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
configure