summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r--platform/linuxbsd/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index 9faa73d6d2..6bde9233c2 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -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.)