mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
python module: building against system Brotli #401
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 @TinfoilSubmarine on GitHub (Oct 13, 2021).
I'm trying to package this python library for Void Linux and I noticed that instead of using the brotli available and installed on my system, the module builds it's own shared library. Is there a way to make the python module just wrap the already available system library?
@TinfoilSubmarine commented on GitHub (Oct 22, 2021):
To answer my own question, yes it is possible, using a patch like this. I used this in my pull request over in void-packages: https://github.com/void-linux/void-packages/pull/33394
use-system-brotli.txt
@eustas commented on GitHub (Jan 6, 2023):
Cool, thanks for investigating. Likely will add a flag to
setup.pyfor using system brotli!