build: make meson-buildoptions.sh stable
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Feb 2023 12:32:32 +0000 (13:32 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Feb 2023 13:12:06 +0000 (14:12 +0100)
commit808d15b383fecb3ec540186f68767a211c756c5a
tree05102849a969d3b0bc898759cc897e09024de37e
parent3b33ae48ec28e1e0d1bc28a85c7423724bcb1a2c
build: make meson-buildoptions.sh stable

The library directory can change depending on the multilib setup of the host.
It would be even better to detect it in configure with the same algorithm
that Meson uses, but the important thing to avoid confusing developers is
to have identical contents of scripts/meson-buildoptions.sh, independent
of the distro and architecture on which it was created.

So, for now just give a custom default value to libdir.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/meson-buildoptions.py
scripts/meson-buildoptions.sh