aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Vasilek <michal.vasilek@nic.cz>2022-01-10 21:27:30 +0100
committerDylan Baker <dylan@pnwbakers.com>2022-01-10 15:30:53 -0800
commit9952446a2a28ea2b009f4b8b2a14ad50f0878bdd (patch)
tree6782c1ab03c4d00f90e780067fd0ddba71fad171
parent1209b8820bad58fd3865069b63f3a1125d9824bc (diff)
downloadmeson-9952446a2a28ea2b009f4b8b2a14ad50f0878bdd.zip
meson-9952446a2a28ea2b009f4b8b2a14ad50f0878bdd.tar.gz
meson-9952446a2a28ea2b009f4b8b2a14ad50f0878bdd.tar.bz2
gnome: fix typo in vapigen option metadatadir
This typo was introduced in 9ef36fa80bf4483bcd837ea3985a51ab533c7972 and can cause a build failure, because --metadatdir is not a valid vapigen option.
-rw-r--r--mesonbuild/modules/gnome.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index 1125e56..dfc66c2 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -1934,7 +1934,7 @@ class GnomeModule(ExtensionModule):
cmd: T.List[T.Union[str, 'ExternalProgram']]
cmd = [state.find_program('vapigen'), '--quiet', f'--library={library}', f'--directory={build_dir}']
cmd.extend([f'--vapidir={d}' for d in kwargs['vapi_dirs']])
- cmd.extend([f'--metadatdir={d}' for d in kwargs['metadata_dirs']])
+ cmd.extend([f'--metadatadir={d}' for d in kwargs['metadata_dirs']])
cmd.extend([f'--girdir={d}' for d in kwargs['gir_dirs']])
cmd += pkg_cmd
cmd += ['--metadatadir=' + source_dir]