mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Use shared libraries for linking the main executable #278
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @moubctez on GitHub (Apr 19, 2019).
Currenly, the main executable is quite large, because it is being linked against static libraries. Please, consider linking it against the shared libraries. The following patch does the shared linking:
@eustas commented on GitHub (Jul 17, 2019):
That is done intentionally, so that brotli executable compiled in one container would be executed in other container without any deps.
Do you have some specific scenario, where shared-linked brotli CLI would be useful?
In that case it would be better to add a configuration option...
@lazka commented on GitHub (Sep 5, 2023):
Looks like this was fixed in
641bec0e30, the main binary now links against the shared lib by default starting with v1.1.0