mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Merge pull request #1892 from esnunes/vendor-raylib-4.0-macos-arm64
Update `vendor:raylib` to support macos-arm64 (apple silicon)
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
+14
-5
@@ -106,11 +106,20 @@ when ODIN_OS == .Windows {
|
|||||||
"system:pthread",
|
"system:pthread",
|
||||||
}
|
}
|
||||||
} else when ODIN_OS == .Darwin {
|
} else when ODIN_OS == .Darwin {
|
||||||
foreign import lib {
|
when ODIN_ARCH == .arm64 {
|
||||||
"macos/libraylib.a",
|
foreign import lib {
|
||||||
"system:Cocoa.framework",
|
"macos-arm64/libraylib.a",
|
||||||
"system:OpenGL.framework",
|
"system:Cocoa.framework",
|
||||||
"system:IOKit.framework",
|
"system:OpenGL.framework",
|
||||||
|
"system:IOKit.framework",
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
foreign import lib {
|
||||||
|
"macos/libraylib.a",
|
||||||
|
"system:Cocoa.framework",
|
||||||
|
"system:OpenGL.framework",
|
||||||
|
"system:IOKit.framework",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
foreign import lib "system:raylib"
|
foreign import lib "system:raylib"
|
||||||
|
|||||||
Reference in New Issue
Block a user