Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build as shared library or static library #1001

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

topazus
Copy link

@topazus topazus commented May 5, 2023

In some Linux distribution, like Fedora, openSUSE or Gentoo, shared libraries are more prefered. Static libraries are suggested to be avoided to be included in packaging. It may be better to explicitly only build shared lib or static lib by using BUILD_SHARED_LIBS option.
Ref:
https://en.opensuse.org/openSUSE:Shared_library_packaging_policy#Best_Practices
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shared_libraries
https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0302
google/re2#258

@topazus
Copy link
Author

topazus commented Jan 27, 2024

@ondys Could you see and review this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant