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
4 changed files with 9 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ thirdparty_misc_sources = [thirdparty_misc_dir + file for file in thirdparty_mis
env_thirdparty.add_source_files(thirdparty_obj, thirdparty_misc_sources)
# Brotli
if env["brotli"]:
if env["brotli"] and env["builtin_brotli"]:
thirdparty_brotli_dir = "#thirdparty/brotli/"
thirdparty_brotli_sources = [
"common/constants.c",