]> git.ipfire.org Git - thirdparty/libvirt.git/commit
scripts/meson-dist.py: Get builddir from env too
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 29 Apr 2024 07:49:17 +0000 (09:49 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 2 May 2024 12:33:20 +0000 (14:33 +0200)
commitbc70aa1df33ce91820111058e22f00eeef13036b
tree3e021ddda09a37aa3dde3ce1ff856dcd0637499e
parentc95cc67efb21518a3a4d3aecc16ab51e38f5d4a1
scripts/meson-dist.py: Get builddir from env too

When meson runs a dist script it sets both MESON_BUILD_ROOT and
MESON_DIST_ROOT envvars [1]. But for some reason, we took the
former as an argument and obtained the latter via env. Well,
obtain both via env.

1: https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonadd_dist_script
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
meson.build
scripts/meson-dist.py