1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Linux: Allow unbundling brotli to use system library

(cherry picked from commit 153c4a4c4f)
This commit is contained in:
Rémi Verschelde
2023-07-06 14:46:34 +02:00
committed by Yuri Sizov
parent 6255a64e03
commit da1e511f11
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.)