g-i: pass --quiet to g-ir-scanner
authorTim-Philipp Müller <tim@centricular.com>
Sat, 23 Mar 2019 19:16:17 +0000 (19:16 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 23 Mar 2019 19:16:17 +0000 (19:16 +0000)
This suppresses the annoying 'g-ir-scanner: link: cc ..' output
that we get even if everything works just fine.

We still get g-ir-scanner warnings and compiler warnings if
we pass this option.

meson.build

index 8c84c31..4dea4fb 100644 (file)
@@ -178,7 +178,7 @@ gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' +
     'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \
     'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \
     'g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);' + \
-    'gst_init(NULL,NULL);' ]
+    'gst_init(NULL,NULL);', '--quiet']
 
 pkgconfig = import('pkgconfig')
 plugins_pkgconfig_install_dir = join_paths(plugins_install_dir, 'pkgconfig')