diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-08-14 15:03:46 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-08-14 15:03:46 -0500 |
commit | e95982af38c2e958059964982fd2cb75518c359f (patch) | |
tree | 2a01bc2fca84bb045da65fe68f6820bbbc98f1d4 | |
parent | f1ddf7dbb423c11d276507cad49c6281c7f0b351 (diff) | |
download | image-luarocks-e95982af38c2e958059964982fd2cb75518c359f.tar.gz image-luarocks-e95982af38c2e958059964982fd2cb75518c359f.tar.bz2 image-luarocks-e95982af38c2e958059964982fd2cb75518c359f.zip |
Set LUA_LIBDIR_OK a different way.
-rwxr-xr-x | init | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
25 | luarocks config variables.LUA_LIBDIR /root | 25 | luarocks 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 |
27 | luarocks config variables.LUA_LIBDIR_OK true #sets it as a string | 27 | # Can't use luarocks config because it sets it as a string |
28 | sed -i 's/LUA_LIBDIR_OK = "true"/LUA_LIBDIR_OK = true/g' /etc/luarocks/config-$luaver.lua | 28 | echo "variables.LUA_LIBDIR_OK = true" >> /etc/luarocks/config-*.lua |
29 | 29 | ||