Replies: 1 comment
-
Following up! Here's a great discussion I had with the abseil-cpp package maintainer. https://bugzilla.redhat.com/show_bug.cgi?id=2279555 . TL;DR is that Fedora strongly prefers shared libraries and doesn't package static libraries unless there's a compelling reason to. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for the help in advance.
I am trying to use abseil static libraries on Fedora Linux. However the static libraries (
libabsl_*.a
) are not packaged in theabseil-cpp[-devel]
RPM package(s); only the shared libraries (libabsl_*.so
) are. I suspect it's because theabsl_cc_library
CMake function here does not support building both simultaneously.The
abseil-cpp-devel
sub-package is where I would have expected to find the static libraries. It is built using this spec file. Since 1 spec file can have only 1 set of build commands (reference), the shared libraries get built, but not the static libraries.I found at least one other request for this.
The alternative is that a new spec file be created for the
abseil-cpp-devel
package (which would then not be a subpackage ofabseil-cpp
) and would also duplicate the whole build again.Is there a way we could build both (static and shared) libraries at once with the same build configuration?
Beta Was this translation helpful? Give feedback.
All reactions