mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 04:38:16 +00:00
Update LUA imports for Darwin.
This commit is contained in:
Vendored
+6
-2
@@ -15,16 +15,20 @@ when LUA_SHARED {
|
||||
foreign import lib "windows/lua52dll.lib"
|
||||
} else when ODIN_OS == .Linux {
|
||||
foreign import lib "linux/liblua52.so"
|
||||
} else when ODIN_OS == .Darwin {
|
||||
foreign import lib "system:lua5.2"
|
||||
} else {
|
||||
foreign import lib "system:liblua.so.5.2"
|
||||
#panic("LUA import not defined for this platform")
|
||||
}
|
||||
} else {
|
||||
when ODIN_OS == .Windows {
|
||||
foreign import lib "windows/lua52dll.lib"
|
||||
} else when ODIN_OS == .Linux {
|
||||
foreign import lib "linux/liblua52.a"
|
||||
} else when ODIN_OS == .Darwin {
|
||||
foreign import lib "system:lua5.2"
|
||||
} else {
|
||||
foreign import lib "system:liblua52.a"
|
||||
#panic("LUA import not defined for this platform")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user