aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-03-17 21:09:48 +0200
committerNirbheek Chauhan <nirbheek@centricular.com>2018-04-15 13:32:38 +0530
commit998892ed2962fdabcb3ef882375501fd849d56f8 (patch)
tree8756aa0d62fe0531d232e684d37764cd3164c37d /mesonbuild/modules/gnome.py
parent4256c0dae2e4793a486ef38eec4361639dbb2957 (diff)
downloadmeson-998892ed2962fdabcb3ef882375501fd849d56f8.zip
meson-998892ed2962fdabcb3ef882375501fd849d56f8.tar.gz
meson-998892ed2962fdabcb3ef882375501fd849d56f8.tar.bz2
Updated all modules to work with the new API.
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r--mesonbuild/modules/gnome.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index 74d0f29..a3ba172 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -1355,9 +1355,9 @@ G_END_DECLS'''
pkg_cmd, vapi_depends, vapi_packages, vapi_includes = self._extract_vapi_packages(state, kwargs)
target_name = 'generate_vapi({})'.format(library)
if 'VAPIGEN' in os.environ:
- cmd = [self.interpreter.func_find_program(None, os.environ['VAPIGEN'], {}), target_name]
+ cmd = [self.interpreter.func_find_program(None, os.environ['VAPIGEN'], {})]
else:
- cmd = [self.interpreter.func_find_program(None, 'vapigen'), target_name]
+ cmd = [self.interpreter.func_find_program(None, 'vapigen', {})]
cmd += ['--quiet', '--library=' + library, '--directory=' + build_dir]
cmd += self._vapi_args_to_command('--vapidir=', 'vapi_dirs', kwargs)
cmd += self._vapi_args_to_command('--metadatadir=', 'metadata_dirs', kwargs)