Linux: Allow unbundling brotli to use system library

This commit is contained in:
Rémi Verschelde 2023-07-06 14:46:34 +02:00
parent b7c2fd2e9a
commit 153c4a4c4f
No known key found for this signature in database
GPG key ID: C3336907360768E1
4 changed files with 9 additions and 5 deletions

View file

@ -240,6 +240,9 @@ def configure(env: "Environment"):
if not env["builtin_zstd"]:
env.ParseConfig("pkg-config libzstd --cflags --libs")
if env["brotli"] and not env["builtin_brotli"]:
env.ParseConfig("pkg-config libbrotlicommon libbrotlidec --cflags --libs")
# Sound and video libraries
# Keep the order as it triggers chained dependencies (ogg needed by others, etc.)