cairo/util/cairo-trace
Emmanuele Bassi ba4d5fbd5d Build with hidden symbols by default
We should default on every platform we care about to hidden symbols, to
avoid leaking private symbols.

On Windows this is the default state of affairs with the MSVC toolchain;
with GCC and GCC-compatible toolchains, we need to opt into this
behaviour. Luckily for us, Cairo already has an annotation for public
symbols, so we can easily tweak it to include the visibility attribute.

When building ancillary libraries as part of the Cairo compilation on
Windows, we use a pre-processor symbol to ensure that we keep the
dllexport annotation. This avoids including the cairoint.h header file.

Fixes: #582
2023-08-16 16:33:04 +01:00
..
.gitignore [.gitignore] Add 2008-10-31 13:43:37 -04:00
cairo-trace.in meson: make cairo-trace executable 2021-03-09 10:59:57 +00:00
COPYING Add a COPYING file to each aux. source directory 2008-10-31 16:14:14 +00:00
COPYING-GPL-3 Add a COPYING file to each aux. source directory 2008-10-31 16:14:14 +00:00
lookup-symbol.c Fix build with newer binutils-dev installed 2022-07-14 10:27:41 +01:00
lookup-symbol.h [util] Add cairo-trace. 2008-10-31 15:37:58 +00:00
meson.build Build with hidden symbols by default 2023-08-16 16:33:04 +01:00
trace.c Fix -Wunused-function warnings 2023-02-06 11:42:00 +02:00