Merge branch 'wip/smcv/clean-girepository-abi' into 'main'

girepository: Exclude private symbols from the ABI

See merge request GNOME/glib!3840
This commit is contained in:
Simon McVittie 2024-01-19 12:22:45 +00:00
commit 62ee8bf693
3 changed files with 6 additions and 1 deletions

View File

@ -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(

View File

@ -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],
)

View File

@ -6,7 +6,9 @@ if enable_gir
'cmph-bdz': {
'dependencies': [cmph_dep],
},
'gthash' : {},
'gthash' : {
'dependencies': [girepo_gthash_dep],
},
'repository' : {
'depends': [glib_gir, gobject_gir],
},