diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-12-19 00:59:46 -0600 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-12-19 00:59:46 -0600 |
| commit | 8c33234366a56d5eef696e6288bb5905fefcb40a (patch) | |
| tree | 30a75500a40ad8791069f2e5ac4301e129787955 | |
| parent | a030fd39f012b22705704905c534f4fda4ffdc55 (diff) | |
| download | luaossl-packaging-8c33234366a56d5eef696e6288bb5905fefcb40a.tar.gz luaossl-packaging-8c33234366a56d5eef696e6288bb5905fefcb40a.tar.bz2 luaossl-packaging-8c33234366a56d5eef696e6288bb5905fefcb40a.zip | |
add libdl to dependencies
| -rwxr-xr-x | init | 5 | ||||
| -rw-r--r-- | luaossl-git-0.rockspec | 4 | ||||
| -rw-r--r-- | meta.lua | 2 |
3 files changed, 10 insertions, 1 deletions
| @@ -2,8 +2,11 @@ | |||
| 2 | 2 | ||
| 3 | cp luaossl-packaging/luaossl-git-0.rockspec luaossl | 3 | cp luaossl-packaging/luaossl-git-0.rockspec luaossl |
| 4 | tar -xvzf include.tar.gz | 4 | tar -xvzf include.tar.gz |
| 5 | tar -xvzf dlfcn.tar.gz | ||
| 5 | mkdir lib | 6 | mkdir lib |
| 6 | cp libcrypto.a lib | 7 | mv libcrypto.a lib |
| 8 | mv libssl.a lib | ||
| 9 | mv libdl.a lib | ||
| 7 | cd luaossl | 10 | cd luaossl |
| 8 | git apply /root/luaossl-packaging/openssl.c.patch | 11 | git apply /root/luaossl-packaging/openssl.c.patch |
| 9 | 12 | ||
diff --git a/luaossl-git-0.rockspec b/luaossl-git-0.rockspec index 1727cf8..cafb1b3 100644 --- a/luaossl-git-0.rockspec +++ b/luaossl-git-0.rockspec | |||
| @@ -24,6 +24,10 @@ external_dependencies = { | |||
| 24 | header = "openssl/crypto.h"; | 24 | header = "openssl/crypto.h"; |
| 25 | library = "crypto"; | 25 | library = "crypto"; |
| 26 | }; | 26 | }; |
| 27 | DL = { | ||
| 28 | header = "dlfcn.h"; | ||
| 29 | library = "dl"; | ||
| 30 | } | ||
| 27 | } | 31 | } |
| 28 | build = { | 32 | build = { |
| 29 | type = "builtin"; | 33 | type = "builtin"; |
| @@ -31,6 +31,8 @@ for version, _, name, optimization, rel, flag, _, image in cartesian(lua_version | |||
| 31 | {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":include.tar.gz"}, | 31 | {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":include.tar.gz"}, |
| 32 | {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":libcrypto.a"}, | 32 | {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":libcrypto.a"}, |
| 33 | {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":libssl.a"}, | 33 | {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":libssl.a"}, |
| 34 | {"cicd","dlfcn-win32:dlfcn.tar.gz"}, | ||
| 35 | {"cicd","dlfcn-win32:libdl.a"}, | ||
| 34 | }, | 36 | }, |
| 35 | produces = { | 37 | produces = { |
| 36 | ["luaossl-git.mingw32-x86_64.rock"] = {"luarocks.sh", "luaossl", image, version, name, rel}, | 38 | ["luaossl-git.mingw32-x86_64.rock"] = {"luarocks.sh", "luaossl", image, version, name, rel}, |
