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