Hello again, just some brief update on this:
On Wed, Oct 16, 2024 at 06:01:52PM +0200, Florian Ernst wrote: > On Fri, Sep 20, 2024 at 08:36:02AM -0400, ryan wrote: > > [...] > > It should be possible to get libzip to emit the static library by > > configuring > > CMake with `-DBUILD_SHARED_LIBS=OFF`. > > While this will indeed provide the static library, then the shared > library won't be built anymore. The solution would be to build the > library in two passes: once shared, and once static, and combine the > results. This, however, complicates the packaging in a way that I'd like > to avoid at the moment, at least until 1.11.1 will have migrated to > testing. I'll reconsider in the future, but don't hold your breath. I toyed with building in two passes a bit, but I found that this alone is not sufficient: this would provide the static lib, true, but I'd also need to provide a separate zipconf.h and separate *.cmake files that properly reflect the static build. Of course this is not impossible to do, but still it would complicate the packaging in way that I'd like to avoid at the moment, so I am postponing this further. Cheers, Flo
signature.asc
Description: PGP signature