[gjs: 2/5] build: Remove duplicate meson argument



commit 4b2cca56c590f1d7320d60378149114f74966507
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Jan 26 22:57:55 2020 -0800

    build: Remove duplicate meson argument
    
    The c_args argument was given twice here.

 installed-tests/js/meson.build | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/installed-tests/js/meson.build b/installed-tests/js/meson.build
index 5d64e78d..872d2e8b 100644
--- a/installed-tests/js/meson.build
+++ b/installed-tests/js/meson.build
@@ -56,10 +56,9 @@ warnlib_sources = [
     gi_tests / 'warnlib.h',
 ]
 libwarnlib = library('warnlib', warnlib_sources,
-    c_args: test_gir_warning_c_args,
+    c_args: test_gir_warning_c_args + test_gir_extra_c_args,
     dependencies: [glib, gobject, gio], install: get_option('installed_tests'),
-    install_dir: pkglibdir,
-    c_args:  test_gir_extra_c_args)
+    install_dir: pkglibdir)
 # This should have --warn-all turned off, but there is currently no way to do so
 # in gnome.generate_gir(). See https://github.com/mesonbuild/meson/issues/5876
 warnlib_gir = gnome.generate_gir(libwarnlib, includes: ['Gio-2.0'],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]