diff options
author | Akihiko Odaki | 2022-06-24 17:40:42 +0200 |
---|---|---|
committer | Paolo Bonzini | 2022-07-13 16:58:57 +0200 |
commit | 8154f5e64b0cfb836803ec6c11360075be66cd00 (patch) | |
tree | 82ddedbd9cf376f0991ec2c73020628ff8e78223 /configure | |
parent | module: Use bundle mechanism (diff) | |
download | qemu-8154f5e64b0cfb836803ec6c11360075be66cd00.tar.gz qemu-8154f5e64b0cfb836803ec6c11360075be66cd00.tar.xz qemu-8154f5e64b0cfb836803ec6c11360075be66cd00.zip |
meson: Prefix each element of firmware path
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <20220624154042.51512-1-akihiko.odaki@gmail.com>
[Rewrite shell function without using Bash extensions. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -676,6 +676,21 @@ fi werror="" +meson_option_build_array() { + printf '[' + (if test "$targetos" == windows; then + IFS=\; + else + IFS=: + fi + for e in $1; do + e=${e/'\'/'\\'} + e=${e/\"/'\"'} + printf '"""%s""",' "$e" + done) + printf ']\n' +} + . $source_path/scripts/meson-buildoptions.sh meson_options= |