diff options
Diffstat (limited to 'init')
-rwxr-xr-x | init | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,12 +3,13 @@ | |||
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 | tar -xvzf dlfcn.tar.gz |
6 | mv dlfcn.h include | ||
6 | mkdir lib | 7 | mkdir lib |
7 | mv libcrypto.a lib | 8 | mv libcrypto.a lib |
8 | mv libssl.a lib | 9 | mv libssl.a lib |
9 | mv libdl.a lib | 10 | mv libdl.a lib |
10 | cd luaossl | 11 | cd luaossl |
11 | git apply /root/luaossl-packaging/openssl.c.patch | 12 | patch src/openssl.c /root/luaossl-packaging/openssl.c.patch |
12 | 13 | ||
13 | luarocks config variables.CFLAGS " $CFLAGS" | 14 | luarocks config variables.CFLAGS " $CFLAGS" |
14 | luarocks make --pack-binary-rock luaossl-git-0.rockspec | 15 | luarocks make --pack-binary-rock luaossl-git-0.rockspec |