Missing defines in rockspec

This commit is contained in:
Bruno Silvestre 2017-12-21 12:33:47 -02:00
parent bd87aafaaf
commit fbbaa866c3

View File

@ -1,5 +1,5 @@
package = "LuaSec" package = "LuaSec"
version = "0.7alpha-1" version = "0.7alpha-2"
source = { source = {
url = "https://github.com/brunoos/luasec/archive/luasec-0.7alpha.tar.gz", url = "https://github.com/brunoos/luasec/archive/luasec-0.7alpha.tar.gz",
dir = "luasec-luasec-0.7alpha" dir = "luasec-luasec-0.7alpha"
@ -45,6 +45,9 @@ build = {
}, },
modules = { modules = {
ssl = { ssl = {
defines = {
"WITH_LUASOCKET", "LUASOCKET_DEBUG",
},
incdirs = { incdirs = {
"$(OPENSSL_INCDIR)", "src/", "src/luasocket", "$(OPENSSL_INCDIR)", "src/", "src/luasocket",
}, },
@ -76,6 +79,7 @@ build = {
ssl = { ssl = {
defines = { defines = {
"WIN32", "NDEBUG", "_WINDOWS", "_USRDLL", "LSEC_EXPORTS", "BUFFER_DEBUG", "LSEC_API=__declspec(dllexport)", "WIN32", "NDEBUG", "_WINDOWS", "_USRDLL", "LSEC_EXPORTS", "BUFFER_DEBUG", "LSEC_API=__declspec(dllexport)",
"WITH_LUASOCKET", "LUASOCKET_DEBUG",
"LUASEC_INET_NTOP", "WINVER=0x0501", "_WIN32_WINNT=0x0501", "NTDDI_VERSION=0x05010300" "LUASEC_INET_NTOP", "WINVER=0x0501", "_WIN32_WINNT=0x0501", "NTDDI_VERSION=0x05010300"
}, },
libdirs = { libdirs = {