Merge pull request #1579 from semarie/vendors

Vendors libraries portability and examples/all splitting
This commit is contained in:
gingerBill
2022-03-03 12:09:46 +00:00
committed by GitHub
55 changed files with 309 additions and 248 deletions
+5 -3
View File
@@ -99,15 +99,17 @@ when ODIN_OS == .Windows {
"system:User32.lib",
"system:Shell32.lib",
}
}
when ODIN_OS == .Linux {
} else when ODIN_OS == .Linux {
foreign import lib {
"linux/libraylib.a",
"system:dl",
"system:pthread",
}
} else when ODIN_OS == .Darwin {
foreign import lib "macos/libraylib.a"
} else {
foreign import lib "system:raylib"
}
when ODIN_OS == .Darwin { foreign import lib "macos/libraylib.a" }
VERSION :: "4.0"