meson: build libutil with hidden symbols visibility

We were leaking some of the utility functions, let's not do that.

This is technically an ABI break but if you're relying on libei to
export those functions...well, don't.
This commit is contained in:
Peter Hutterer 2023-08-31 13:10:42 +10:00
parent f235052f81
commit abe85e051e

View file

@ -12,6 +12,7 @@ lib_util = static_library('util',
src_libutil,
include_directories: [inc_builddir],
dependencies: [dep_math, dep_epoll],
gnu_symbol_visibility: 'hidden',
)
dep_libutil = declare_dependency(link_with: lib_util)