diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-07-07 08:35:44 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-07-07 08:35:44 +0200 |
commit | f1e63b808a163a9e4ffde8a6dc33290754d5289d (patch) | |
tree | 86063985f0864fbffa6298bbc5631ecad2ae47f1 /platform/linuxbsd/detect.py | |
parent | 26a58976e7c650b29ae9c48777a65f03ebb3812b (diff) | |
parent | 153c4a4c4fd9ab142004d3448d1de4923a15a871 (diff) | |
download | redot-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.py | 3 |
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.) |