summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-08-14 15:03:46 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-08-14 15:03:46 -0500
commite95982af38c2e958059964982fd2cb75518c359f (patch)
tree2a01bc2fca84bb045da65fe68f6820bbbc98f1d4
parentf1ddf7dbb423c11d276507cad49c6281c7f0b351 (diff)
downloadimage-luarocks-e95982af38c2e958059964982fd2cb75518c359f.tar.gz
image-luarocks-e95982af38c2e958059964982fd2cb75518c359f.tar.bz2
image-luarocks-e95982af38c2e958059964982fd2cb75518c359f.zip
Set LUA_LIBDIR_OK a different way.
-rwxr-xr-xinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/init b/init
index 73ffda6..fda870f 100755
--- a/init
+++ b/init
@@ -24,6 +24,6 @@ luarocks config variables.LUA_INCDIR /root/$luaver/src
24# Downstream is responsible for selecting the lua51.dll, whatever it's compiled for 24# Downstream is responsible for selecting the lua51.dll, whatever it's compiled for
25luarocks config variables.LUA_LIBDIR /root 25luarocks config variables.LUA_LIBDIR /root
26# Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll 26# Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll
27luarocks config variables.LUA_LIBDIR_OK true #sets it as a string 27# Can't use luarocks config because it sets it as a string
28sed -i 's/LUA_LIBDIR_OK = "true"/LUA_LIBDIR_OK = true/g' /etc/luarocks/config-$luaver.lua 28echo "variables.LUA_LIBDIR_OK = true" >> /etc/luarocks/config-*.lua
29 29