Open davidgiven opened 1 year ago
I second this. Linking protobuf without static abseil is impossible when using msys2 packages.
Protobuf provides a static library (libprotobuf.a
) as well as a dynamic (libprotobuf.dll.a
), so the missing libabseil.a
is a real blocker.
Description / Steps to reproduce the issue
The mingw-w64-i686-abseil-cpp package doesn't contain any static libraries. It's got the dlls, and the dll.a stub files, but no normal statically linked libraries, making static linking of e.g. protobuf (which depends on abseil) impossible.
From looking at the abseil cmakefiles, it looks like the build system can build either the dynamic libraries or the static libraries. So this will mean configuring and building twice in the PKGBUILD file. Is that a problem? I'm happy to produce a PR.
Reproduction steps:
/mingw*/lib/libabsl.<something>.a
files which aren't.dll.a
files.Expected behavior
.
Actual behavior
.
Verification
Windows Version
MINGW32_NT-10.0-19045
MINGW environments affected
Are you willing to submit a PR?
yup