mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-10-31 19:46:16 +01:00
c1ee1a99bc
Building GLib 2.75.0 on Linux adds various inotify-related internal symbols to the ABI, which doesn't seem to have been intentional. I went through the other libraries in the build system, and it looks as though the BSD kqueue backend would have the same problem. GNU symbol visibility probably doesn't do anything for gio/win32, but for completeness I've set that to use hidden symbols too, on the basis that it'll be easier to get this right if we're consistent. Resolves: https://gitlab.gnome.org/GNOME/glib/-/issues/2811 Signed-off-by: Simon McVittie <smcv@collabora.com>
15 lines
364 B
Meson
15 lines
364 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, gmoduleinc],
|
|
dependencies : [gioenumtypes_dep],
|
|
gnu_symbol_visibility : 'hidden',
|
|
pic : true,
|
|
c_args : [gio_c_args, gio_c_args_internal])
|