mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
8733d172a3
It must only be defined when building libgio. This requires some workaround to allow include of some gio private headers. When GIO_COMPILATION is not defined we cannot include individual gio headers. We workaround that by defining __GIO_GIO_H_INSIDE__ in some places. Also gdbusprivate.h is not an installed header, so it's fine to include it directly.
16 lines
409 B
Meson
16 lines
409 B
Meson
inotify_sources = [
|
|
'inotify-kernel.c',
|
|
'inotify-sub.c',
|
|
'inotify-path.c',
|
|
'inotify-missing.c',
|
|
'inotify-helper.c',
|
|
'ginotifyfilemonitor.c',
|
|
]
|
|
|
|
inotify_lib = static_library('inotify',
|
|
sources : inotify_sources,
|
|
include_directories : [configinc, glibinc, gmoduleinc],
|
|
dependencies : [gioenumtypes_dep, libglib_dep, libgobject_dep],
|
|
pic : true,
|
|
c_args : [gio_c_args, gio_c_args_internal])
|