From fbbaa866c33a63bcdfd4630b7f0ed84c6c7839ff Mon Sep 17 00:00:00 2001 From: Bruno Silvestre Date: Thu, 21 Dec 2017 12:33:47 -0200 Subject: [PATCH] Missing defines in rockspec --- luasec-0.7alpha-1.rockspec => luasec-0.7alpha-2.rockspec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename luasec-0.7alpha-1.rockspec => luasec-0.7alpha-2.rockspec (94%) diff --git a/luasec-0.7alpha-1.rockspec b/luasec-0.7alpha-2.rockspec similarity index 94% rename from luasec-0.7alpha-1.rockspec rename to luasec-0.7alpha-2.rockspec index 1d45264..8114e94 100644 --- a/luasec-0.7alpha-1.rockspec +++ b/luasec-0.7alpha-2.rockspec @@ -1,5 +1,5 @@ package = "LuaSec" -version = "0.7alpha-1" +version = "0.7alpha-2" source = { url = "https://github.com/brunoos/luasec/archive/luasec-0.7alpha.tar.gz", dir = "luasec-luasec-0.7alpha" @@ -45,6 +45,9 @@ build = { }, modules = { ssl = { + defines = { + "WITH_LUASOCKET", "LUASOCKET_DEBUG", + }, incdirs = { "$(OPENSSL_INCDIR)", "src/", "src/luasocket", }, @@ -76,6 +79,7 @@ build = { ssl = { defines = { "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" }, libdirs = {