mirror of
https://github.com/openappsec/attachment.git
synced 2026-01-17 16:00:26 +03:00
try only adding brotli to the libraries list
This commit is contained in:
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user