[glib: 1/2] build: Drop gconstructor_as_data_h usage from glib-compile-schemas




commit 39ecc25383ad5ea355cbc917e012cd87942e027d
Author: Philip Withnall <pwithnall endlessos org>
Date:   Fri Mar 12 12:42:17 2021 +0000

    build: Drop gconstructor_as_data_h usage from glib-compile-schemas
    
    The variable `gconstructor_code` (which is what’s defined by
    `gconstructor_as_data_h`) is not used at all inside
    `glib-compile-schemas`.
    
    This looks like a copy/paste error from the build definition for
    `glib-compile-resources` below, which does need it.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 gio/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/meson.build b/gio/meson.build
index 397882f75..49a37a7bd 100644
--- a/gio/meson.build
+++ b/gio/meson.build
@@ -965,7 +965,7 @@ gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodu
   dependencies : [libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep])
 
 glib_compile_schemas = executable('glib-compile-schemas',
-  [gconstructor_as_data_h, 'gvdb/gvdb-builder.c', 'glib-compile-schemas.c'],
+  ['gvdb/gvdb-builder.c', 'glib-compile-schemas.c'],
   install : true,
   # intl.lib is not compatible with SAFESEH
   link_args : noseh_link_args,


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