glib/gio/kqueue/meson.build
Marco Trevisan (Treviño) fe38a02c62 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
2023-04-19 21:10:29 +02:00

18 lines
384 B
Meson

kqueue_sources = [
'gkqueuefilemonitor.c',
'kqueue-helper.c',
'kqueue-missing.c',
'dep-list.c',
]
kqueue_lib = static_library('kqueue',
sources : [kqueue_sources],
include_directories : [configinc, glibinc],
dependencies : [
gioenumtypes_dep,
gmodule_inc_dep,
],
gnu_symbol_visibility : 'hidden',
pic : true,
c_args : [gio_c_args, gio_c_args_internal])