summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-12-09 01:26:32 -0600
committerAlexander M Pickering <alex@cogarr.net>2024-12-09 01:26:32 -0600
commit6f8bd6a878449cd1ed08761d7e6f1a7765f62d47 (patch)
treefdd8d4d53e5f8bf438723252d4b9ef0503d22d17
parent2eef48a92389772dfad8bd37da93464c5aa5da0c (diff)
downloadimage-luarocks-6f8bd6a878449cd1ed08761d7e6f1a7765f62d47.tar.gz
image-luarocks-6f8bd6a878449cd1ed08761d7e6f1a7765f62d47.tar.bz2
image-luarocks-6f8bd6a878449cd1ed08761d7e6f1a7765f62d47.zip
Set external deps to mingw location
-rwxr-xr-xinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/init b/init
index 2f3417f..53ea1d9 100755
--- a/init
+++ b/init
@@ -2,6 +2,7 @@
2 2
3rc-service networking start 3rc-service networking start
4 4
5apk update
5apk add luarocks$maj.$min zip upx 6apk add luarocks$maj.$min zip upx
6ln -s /usr/bin/luarocks-$maj.$min /usr/local/bin/luarocks 7ln -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
31echo "variables.LUA_LIBDIR_OK = true" >> "$(luarocks config config_files.nearest)" 32echo "variables.LUA_LIBDIR_OK = true" >> "$(luarocks config config_files.nearest)"
33echo "external_deps_dirs = {'/usr/x86_64-w64-mingw32/lib'}" >> "$(luarocks config config_files.nearest)"
32 34