summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-07-07 08:35:44 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-07-07 08:35:44 +0200
commitf1e63b808a163a9e4ffde8a6dc33290754d5289d (patch)
tree86063985f0864fbffa6298bbc5631ecad2ae47f1 /platform/linuxbsd/detect.py
parent26a58976e7c650b29ae9c48777a65f03ebb3812b (diff)
parent153c4a4c4fd9ab142004d3448d1de4923a15a871 (diff)
downloadredot-engine-f1e63b808a163a9e4ffde8a6dc33290754d5289d.tar.gz
Merge pull request #79101 from akien-mga/linux-unbundle-brotli
Linux: Allow unbundling brotli to use system library
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.)