Linking against static libdpkg >= 1.21.10
From
Guillem Jover@21:1/5 to
All on Tue Oct 11 12:20:01 2022
Hi!
With the upcoming dpkg release, and its new hard dependency on libmd
(depending on the system), if the project is linking against libdpkg,
which is still a static library you might find it fails to build now.
For projects using autotools, you should be using
PKG_CHECK_MODULES_STATIC instead of PKG_CHECK_MODULES. Otherwise
you should be calling pkg-config manually (ideally behind a PKG_CONFIG
variable that can be overridden).
I checked the archive and only noticed three projects with this problem
(deets for which I already sent MRs, which got merged and uploaded; debsig-verify, fixed in git, pending an upload; cruft-ng, for which I've submitted an MR).
As I don't have further visibility on other users of the library, this
is mostly a heads-up that your projects might break, and you might want
to change the aforementioned macro usage or linking rules (assuming those
users are reading this list of course :).
Thanks,
Guillem
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)