mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
libbrotlienc.so and libbrotlidec.so should both require libbrotlicommon.so #212
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 @rcanavan on GitHub (Feb 2, 2018).
both libbrotlidec and libbrotlienc use BrotliGetDictionary from libbrotlicommon, but rely on the binary using brotli to also load libbrotlicommon. It may be more convenient for end users to link the enc and dec libraries against libbrotlicommon.so. The mod_brotli included in apache httpd 2.4.29 does not automatically pick up this dependency, and as a consequence, build a mod_brotli that can only be used by LD_PRELOADind libbrotlicommon.so.
Proposed patch:
@rcanavan commented on GitHub (Feb 2, 2018):
That patch is obviously rubbish and fails when building in parallel. My understanding is that a proper solution would require the libraries to be separated into separate directories.
@eustas commented on GitHub (Feb 6, 2018):
Doesn't
libbrotlidec_la_LIBADD = libbrotlicommon.la -lmandlibbrotlienc_la_LIBADD = libbrotlicommon.la -lmdo that?@eustas commented on GitHub (Feb 6, 2018):
Oh, it is not in 1.0.2! Going to release 1.0.3 very soon.
@rcanavan commented on GitHub (Feb 6, 2018):
it does. Those two changes on top of 1.0.2 work flawlessly for me. Thanks.