gnome: fix typo in vapigen option metadatadir

This typo was introduced in 9ef36fa80b and
can cause a build failure, because --metadatdir is not a valid vapigen
option.
pull/9510/head
Michal Vasilek 3 years ago committed by Dylan Baker
parent 1209b8820b
commit 9952446a2a
  1. 2
      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]

Loading…
Cancel
Save