fix: must add gnu to platform

This commit is contained in:
əlemi 2024-09-10 16:25:19 +02:00
parent ca2a3b3767
commit 51d65eab3d
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -5,7 +5,11 @@ local os_uname = vim.loop.os_uname()
local arch = os_uname.machine local arch = os_uname.machine
local platform = string.lower(os_uname.sysname) local platform = string.lower(os_uname.sysname)
if platform == "mac" then platform = "darwin" end if platform == "mac" then
platform = "darwin"
else
platform = platform .. "-gnu"
end
local ext = os_uname.sysname local ext = os_uname.sysname
if os_uname.sysname == "Windows" then ext = "dll" if os_uname.sysname == "Windows" then ext = "dll"