Last active
June 8, 2020 07:16
-
-
Save btbytes/6acf539bd280f642447fc975bf672674 to your computer and use it in GitHub Desktop.
Lua stuff
LuaRocks supports multiple versions of Lua. By default it is configured
to use Lua5.3, but you can require it to use another version at runtime
with the `--lua-dir` flag, like this:
luarocks --lua-dir=/usr/local/opt/lua@5.1 install say
==> Summary
🍺 /usr/local/Cellar/luarocks/3.3.1: 104 files, 696.3KB
╭─pradeep@lambda ~ ‹system›
╰─$ luarocks --lua-dir=/usr/local/opt/lua@5.3 install lapis
luarocks --lua-dir=/usr/local/opt/lua@5.3 install luaossl CRYPTO_INCDIR=/usr/local/Cellar/openssl@1.1/1.1.1g/include/ OPENSSL_INCDIR=/usr/local/Cellar/openssl@1.1/1.1.1g/include/ OPENSSL_LIBDIR=/usr/local/Cellar/openssl@1.1/1.1.1g/lib/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment