update luajit and fix link on neovim to allow luajit to work on linux aarch64 (#38865)

This commit is contained in:
Tom Scogland 2023-07-20 13:36:12 -05:00 committed by GitHub
parent d1d2d76183
commit 0bef599c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -13,11 +13,14 @@ class LuaLuajitOpenresty(LuaImplPackage):
"""Flast flexible JITed lua - OpenResty maintained fork"""
homepage = "https://openresty.org/en/luajit.html"
url = "https://github.com/openresty/luajit2/archive/refs/tags/v2.1-20220111.tar.gz"
url = "https://github.com/openresty/luajit2/archive/refs/tags/v2.1-20230410.tar.gz"
version(
"2.1-20220111", sha256="1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3"
)
version(
"2.1-20230410", sha256="77bbcbb24c3c78f51560017288f3118d995fe71240aa379f5818ff6b166712ff"
)
variant(
"lualinks",

View File

@ -86,7 +86,7 @@ class Neovim(CMakePackage):
# dependencies to allow regular lua to work
depends_on("lua-ffi", when="^lua", type=("link", "run"))
depends_on("lua-bitlib", type="link", when="^lua")
depends_on("lua-bitlib", type=("link", "run"), when="^lua")
# base dependencies
depends_on("cmake@3.0:", type="build")