mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
girepository: Exclude private symbols from the ABI
This removes the gthash utility functions from the ABI, so link those into their automated test statically. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -106,6 +106,7 @@ girepo_gthash_lib = static_library('girepository-gthash',
|
||||
libgmodule_dep,
|
||||
libgobject_dep,
|
||||
],
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
)
|
||||
|
||||
girepo_gthash_dep = declare_dependency(
|
||||
@@ -132,6 +133,7 @@ libgirepository_internals = static_library('girepository-internals',
|
||||
gi_visibility_h,
|
||||
],
|
||||
c_args: gir_c_args + custom_c_args,
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
include_directories : [configinc, girepoinc],
|
||||
dependencies: [girepo_gthash_dep, libffi_dep],
|
||||
)
|
||||
|
Reference in New Issue
Block a user