Thanks for the ping Luca; I totally missed this.

Mark,
Question: in your project, were you building static libs as well as
shared, or just shared?
If meson is requiring dependencies listed in requires.private to be
present for shared library builds, that seems a bit broken.

requires.private means that a dependency is only required when doing a
static link.

There's an additional complication here: libaudit-dev is Linux specific.
In the build-depends, we only depend on libaudit-dev for linux-any.  We
could:

* Do the same thing in the libpam0g-dev.  Although in that case  meson
  probably does the wrong thing on non-linux systems.

* Decide we don't care about non-linux systems and simplify our lives
  (dropping any hurd patches at next upstream import for example)

* Remove libaudit from the .pc file.  We might get undefined symbols on
  static links for Linux systems, but statically linking PAM seems like
  a challenging proposition at best.

Thoughts?

--Sam

Reply via email to