mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
740440774a
Since gmodule-visibility.h is now a custom target and produced at buildtime, it might not always exist in time for use in other source files. This was the case for gio-inotify. Add it as an additional source file to ensure in-time generation.
17 lines
469 B
Meson
17 lines
469 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, gmodule_visibility_h],
|
|
include_directories : [configinc, glibinc, gmoduleinc],
|
|
dependencies : [gioenumtypes_dep, libglib_dep, libgobject_dep],
|
|
gnu_symbol_visibility : 'hidden',
|
|
pic : true,
|
|
c_args : [gio_c_args, gio_c_args_internal])
|