mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 12:41:50 +01: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:
parent
4ff4f073a4
commit
25ec19723c
@ -51,6 +51,7 @@ cmph = static_library('cmph',
|
||||
sources: cmph_sources,
|
||||
c_args: custom_c_args,
|
||||
dependencies: cmph_deps,
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
)
|
||||
|
||||
cmph_dep = declare_dependency(
|
||||
|
@ -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],
|
||||
)
|
||||
|
@ -6,7 +6,9 @@ if enable_gir
|
||||
'cmph-bdz': {
|
||||
'dependencies': [cmph_dep],
|
||||
},
|
||||
'gthash' : {},
|
||||
'gthash' : {
|
||||
'dependencies': [girepo_gthash_dep],
|
||||
},
|
||||
'repository' : {
|
||||
'depends': [glib_gir, gobject_gir],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user