fix: macos sysname is Darwin, not Mac ?

This commit is contained in:
əlemi 2024-10-08 17:31:29 +02:00
parent 7f5d7b23b5
commit f2d2f706f7
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -26,7 +26,7 @@ end
local ext = os_uname.sysname
if os_uname.sysname == "Windows_NT" then ext = "dll"
elseif os_uname.sysname == "Mac" then ext = "dylib"
elseif os_uname.sysname == "Darwin" then ext = "dylib"
else ext = "so"
end