diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-12-09 01:26:32 -0600 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-12-09 01:26:32 -0600 |
commit | 6f8bd6a878449cd1ed08761d7e6f1a7765f62d47 (patch) | |
tree | fdd8d4d53e5f8bf438723252d4b9ef0503d22d17 | |
parent | 2eef48a92389772dfad8bd37da93464c5aa5da0c (diff) | |
download | image-luarocks-6f8bd6a878449cd1ed08761d7e6f1a7765f62d47.tar.gz image-luarocks-6f8bd6a878449cd1ed08761d7e6f1a7765f62d47.tar.bz2 image-luarocks-6f8bd6a878449cd1ed08761d7e6f1a7765f62d47.zip |
Set external deps to mingw location
-rwxr-xr-x | init | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | rc-service networking start | 3 | rc-service networking start |
4 | 4 | ||
5 | apk update | ||
5 | apk add luarocks$maj.$min zip upx | 6 | apk add luarocks$maj.$min zip upx |
6 | ln -s /usr/bin/luarocks-$maj.$min /usr/local/bin/luarocks | 7 | ln -s /usr/bin/luarocks-$maj.$min /usr/local/bin/luarocks |
7 | # We can create the link, even if the file doesn't exist yet. When gcc links | 8 | # We can create the link, even if the file doesn't exist yet. When gcc links |
@@ -29,4 +30,5 @@ luarocks config variables.LUA_LIBDIR /root | |||
29 | # Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll | 30 | # Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll |
30 | # Can't use luarocks config because it sets it as a string | 31 | # Can't use luarocks config because it sets it as a string |
31 | echo "variables.LUA_LIBDIR_OK = true" >> "$(luarocks config config_files.nearest)" | 32 | echo "variables.LUA_LIBDIR_OK = true" >> "$(luarocks config config_files.nearest)" |
33 | echo "external_deps_dirs = {'/usr/x86_64-w64-mingw32/lib'}" >> "$(luarocks config config_files.nearest)" | ||
32 | 34 | ||