Skip to content

gio: Use hidden symbol visibility in static libraries

Simon McVittie requested to merge wip/smcv/hidden-inotify into main

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: #2811 (closed)

Merge request reports