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"
|
"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" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user