mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-25 03:17:52 +02:00
gmodule: Define a gmodule include dependency and use it in gio modules
Various gio modules include gmodule.h that requires the gmodule-visibility.h to be already built. To make this easier, just provide a dependency and use it where we are building modules that do not depend on libgio_dep (that already includes that). Fixes: https://gitlab.gnome.org/GNOME/glib/-/issues/2982
This commit is contained in:
@@ -9,8 +9,12 @@ giowin32_sources = [
|
||||
|
||||
giowin32_lib = static_library('giowin32',
|
||||
sources : [giowin32_sources],
|
||||
include_directories : [configinc, glibinc, gioinc, gmoduleinc],
|
||||
dependencies : [libintl, gioenumtypes_dep],
|
||||
include_directories : [configinc, glibinc, gioinc],
|
||||
dependencies : [
|
||||
libintl,
|
||||
gioenumtypes_dep,
|
||||
gmodule_inc_dep,
|
||||
],
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
pic : true,
|
||||
c_args : [gio_c_args, gio_c_args_internal])
|
||||
|
Reference in New Issue
Block a user