mirror of
https://github.com/brunoos/luasec.git
synced 2025-01-31 00:55:02 +01:00
alternative rockspec
This commit is contained in:
parent
0c58a8f9b8
commit
65da178ca3
@ -14,10 +14,19 @@ dependencies = {
|
|||||||
"lua >= 5.1", "luasocket"
|
"lua >= 5.1", "luasocket"
|
||||||
}
|
}
|
||||||
external_dependencies = {
|
external_dependencies = {
|
||||||
|
platforms = {
|
||||||
|
unix = {
|
||||||
OPENSSL = {
|
OPENSSL = {
|
||||||
header = "openssl/ssl.h",
|
header = "openssl/ssl.h",
|
||||||
library = "ssl",
|
library = "ssl"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
windows = {
|
||||||
|
OPENSSL = {
|
||||||
|
header = "openssl/ssl.h",
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
build = {
|
build = {
|
||||||
type = "builtin",
|
type = "builtin",
|
||||||
@ -65,13 +74,13 @@ build = {
|
|||||||
modules = {
|
modules = {
|
||||||
ssl = {
|
ssl = {
|
||||||
defines = {
|
defines = {
|
||||||
"WIN32", "NDEBUG", "_WINDOWS", "_USRDLL", "LUASEC_EXPORTS", "BUFFER_DEBUG", "LUASEC_API=__declspec(dllexport)"
|
"WIN32", "NDEBUG", "_WINDOWS", "_USRDLL", "LSEC_EXPORTS", "BUFFER_DEBUG", "LSEC_API=__declspec(dllexport)"
|
||||||
},
|
},
|
||||||
libdirs = {
|
libdirs = {
|
||||||
"$(OPENSSL_LIBDIR)",
|
"$(OPENSSL_LIBDIR)",
|
||||||
},
|
},
|
||||||
libraries = {
|
libraries = {
|
||||||
"ssl", "crypto", "wsock32",
|
"libeay32", "ssleay32", "ws2_32"
|
||||||
},
|
},
|
||||||
incdirs = {
|
incdirs = {
|
||||||
"$(OPENSSL_INCDIR)", "src/", "src/luasocket"
|
"$(OPENSSL_INCDIR)", "src/", "src/luasocket"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user