Fix cairo-fdr and cairo-trace

This partially reverts commit ba4d5fbd5 from MR !343 which asked for
hidden symbols everywhere. cairo-fdr and cairo-trace explicitly try to
interpose existing symbols. Changing them to hidden symbols breaks these
tools.

See: https://gitlab.freedesktop.org/cairo/cairo/-/issues/882#note_2759005
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2025-01-31 18:10:47 +01:00
parent 3bfe1eed02
commit b35a9ead97
2 changed files with 0 additions and 2 deletions

View file

@ -5,7 +5,6 @@ cairo_fdr_sources = [
libcairofdr = library('cairo-fdr', cairo_fdr_sources,
include_directories: [incbase, incsrc],
dependencies: deps,
gnu_symbol_visibility: 'hidden',
link_args: extra_link_args,
install: true,
install_dir: get_option('libdir') / 'cairo',

View file

@ -13,7 +13,6 @@ libcairotrace = library('cairo-trace', cairo_trace_sources,
dependencies: deps,
c_args: ['-DSHARED_LIB_EXT="@0@"'.format(shared_lib_ext),] + pthread_c_args,
link_args: extra_link_args,
gnu_symbol_visibility: 'hidden',
install: true,
install_dir: get_option('libdir') / 'cairo',
)