Package: libsystemd-dev
Version: 239-14
Severity: wishlist

libsystemd-dev doesn't provide a static library. Is this deliberate?
Support for a static libsystemd and libudev seems to have been added to
the upstream Meson build system in v239.

I discovered this while expanding debian/tests/build in dbus to
exercise static linking, which didn't work. The test could in principle
be made to use a static libdbus and a dynamic libsystemd, but that's
rather more complicated than the semi-obvious use of pkg-config,

    gcc -static -o static connect.c $(pkg-config --cflags --libs --static 
dbus-1)

which is what I was trying to test.

If you don't consider a shared libsystemd to be useful, please close this
bug or mark it as wontfix. (However, if lower-level libraries are
unilaterally built as shared-only, this significantly reduces the usefulness
of building static higher-level libraries.)

    smcv

Reply via email to