#1104888 libcairo2-dev does not include libcairo.a

Package:
libcairo2-dev
Source:
libcairo2-dev
Description:
Development files for the Cairo 2D graphics library
Submitter:
Adam Novak
Date:
2025-05-07 21:09:02 UTC
Severity:
normal
#1104888#5
Date:
2025-05-07 20:49:56 UTC
From:
To:
Dear Maintainer,

I'm trying to build software that statically links against libcairo.
However, apparently since the change to the meson build system, the
Debian cairo package doesn't build the libcairo.a static library, and
libcairo2-dev does not include it in the package anymore.

Can it be addedd back?

On the downstream Ubuntu bug for this at
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/2110074 it was
mentioned that adding --default-library=static to the build command line
somehow might fix this.

Thanks,
-Adam

#1104888#10
Date:
2025-05-07 21:07:05 UTC
From:
To:
I marked this as "important" following the reportbug guidelines, on the
theory that about half the users of a -dev package want the static library
and half want the dynamic one. But I might be wrong.