cairo/util/cairo-sphinx
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 Add cairo-sphinx utility for regression analysis 2009-08-29 17:07:34 +01:00
fdr.c Drop the conditional inclusion of config.h 2021-05-01 17:05:29 +01:00
meson.build Build with hidden symbols by default 2023-08-16 16:33:04 +01:00
sphinx.c Hurd has no MAP_NORESERVE so don't use it there 2023-07-02 10:19:06 -04:00