aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/unstable_wayland.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-03-22 20:19:24 -0400
committerXavier Claessens <xclaesse@gmail.com>2022-03-29 16:10:28 -0400
commite33ec88ac714b1d41cbfec28e80ee6bc046200eb (patch)
tree46cf4447a8e2d9d3987cdf9729023dd9a75df01f /mesonbuild/modules/unstable_wayland.py
parentd93fe56e89a027ec8fec9ad9d8176c6d7ee98543 (diff)
downloadmeson-e33ec88ac714b1d41cbfec28e80ee6bc046200eb.zip
meson-e33ec88ac714b1d41cbfec28e80ee6bc046200eb.tar.gz
meson-e33ec88ac714b1d41cbfec28e80ee6bc046200eb.tar.bz2
Pass environment down to base Target class
Diffstat (limited to 'mesonbuild/modules/unstable_wayland.py')
-rw-r--r--mesonbuild/modules/unstable_wayland.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/modules/unstable_wayland.py b/mesonbuild/modules/unstable_wayland.py
index a7653d9..c3e29f4 100644
--- a/mesonbuild/modules/unstable_wayland.py
+++ b/mesonbuild/modules/unstable_wayland.py
@@ -61,6 +61,7 @@ class WaylandModule(ExtensionModule):
f'{name}-protocol',
state.subdir,
state.subproject,
+ state.environment,
[self.scanner_bin, f'{scope}-code', '@INPUT@', '@OUTPUT@'],
[xml_file],
[f'{name}-protocol.c'],
@@ -73,6 +74,7 @@ class WaylandModule(ExtensionModule):
f'{name}-{side}-protocol',
state.subdir,
state.subproject,
+ state.environment,
[self.scanner_bin, f'{side}-header', '@INPUT@', '@OUTPUT@'],
[xml_file],
[f'{name}-{side}-protocol.h'],