try only adding brotli to the libraries list

This commit is contained in:
wiaamm
2026-01-15 11:51:54 +02:00
parent 61f5830da0
commit 241ae42cd9

View File

@@ -19,13 +19,6 @@ dependencies = {
"lua >= 2.1" "lua >= 2.1"
} }
external_dependencies = {
BROTLI = {
header = "brotli/encode.h",
library = "brotlienc"
}
}
build = { build = {
type = "builtin", type = "builtin",
@@ -55,12 +48,10 @@ build = {
incdirs = { incdirs = {
"core/include/attachments/", "core/include/attachments/",
"attachments/nano_attachment/", "attachments/nano_attachment/",
"external/", "external/"
"$(BROTLI_INCDIR)"
}, },
defines = { "_GNU_SOURCE", "ZLIB_CONST" }, defines = { "_GNU_SOURCE", "ZLIB_CONST" },
libraries = { "pthread", "z", "rt", "stdc++", "brotlienc", "brotlidec", "brotlicommon" }, libraries = { "pthread", "z", "rt", "stdc++", "brotlienc", "brotlidec", "brotlicommon" },
libdirs = { "$(BROTLI_LIBDIR)" },
ldflags = { "-static-libstdc++", "-static-libgcc" } ldflags = { "-static-libstdc++", "-static-libgcc" }
} }
} }