aboutsummaryrefslogtreecommitdiff
path: root/binary/luasec-0.7alpha-2.rockspec
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-07-02 19:27:48 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-07-02 19:27:48 -0300
commit8dd1e1460282f5fc992d838ec2411f4d1bc7b2b7 (patch)
tree5b6e88d37869bad4a23cfd52424e91fa34d34176 /binary/luasec-0.7alpha-2.rockspec
parent672b4f191ac5723ee460e469d58fff2ca2cb386b (diff)
downloadluarocks-8dd1e1460282f5fc992d838ec2411f4d1bc7b2b7.tar.gz
luarocks-8dd1e1460282f5fc992d838ec2411f4d1bc7b2b7.tar.bz2
luarocks-8dd1e1460282f5fc992d838ec2411f4d1bc7b2b7.zip
Experimental Windows cross-compiled binary build
This commit consolidates the work that has been ongoing over the last few weeks in producing the single-binary builds of LuaRocks based on the new distribution model described in https://github.com/luarocks/luarocks/wiki/Project:-LuaRocks-new-distribution-model The single-binary build is in a good shape for Linux, it's a work-in-progress for Windows (binaries do build, but some work on the dependencies is still necessary), and is untested in macOS.
Diffstat (limited to 'binary/luasec-0.7alpha-2.rockspec')
-rw-r--r--binary/luasec-0.7alpha-2.rockspec9
1 files changed, 7 insertions, 2 deletions
diff --git a/binary/luasec-0.7alpha-2.rockspec b/binary/luasec-0.7alpha-2.rockspec
index 2736ca15..89d516b5 100644
--- a/binary/luasec-0.7alpha-2.rockspec
+++ b/binary/luasec-0.7alpha-2.rockspec
@@ -26,6 +26,11 @@ external_dependencies = {
26 header = "openssl/ssl.h", 26 header = "openssl/ssl.h",
27 } 27 }
28 }, 28 },
29 mingw32 = {
30 OPENSSL = {
31 library = "ssl",
32 }
33 },
29 } 34 }
30} 35}
31build = { 36build = {
@@ -60,11 +65,11 @@ build = {
60 } 65 }
61 } 66 }
62 }, 67 },
63 mingw = { 68 mingw32 = {
64 modules = { 69 modules = {
65 ssl = { 70 ssl = {
66 libraries = { 71 libraries = {
67 "ssl", "crypto", 72 "ssl", "crypto", "ws2_32", "gdi32"
68 } 73 }
69 } 74 }
70 } 75 }