mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Update raygui.odin for Mac targets
This commit is contained in:
Vendored
+6
-2
@@ -23,7 +23,9 @@ when ODIN_OS == .Windows {
|
|||||||
} else when ODIN_OS == .Darwin {
|
} else when ODIN_OS == .Darwin {
|
||||||
when ODIN_ARCH == .arm64 {
|
when ODIN_ARCH == .arm64 {
|
||||||
when RAYGUI_SHARED {
|
when RAYGUI_SHARED {
|
||||||
// #panic("Cannot link libraygui.450.dylib: not in the vendor collection")
|
foreign import lib {
|
||||||
|
"macos-arm64/libraygui.dylib"
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
foreign import lib {
|
foreign import lib {
|
||||||
"macos-arm64/libraygui.a",
|
"macos-arm64/libraygui.a",
|
||||||
@@ -34,7 +36,9 @@ when ODIN_OS == .Windows {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
when RAYGUI_SHARED {
|
when RAYGUI_SHARED {
|
||||||
// #panic("Cannot link libraygui.450.dylib: not in the vendor collection")
|
foreign import lib {
|
||||||
|
"macos/libraygui.dylib"
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
foreign import lib {
|
foreign import lib {
|
||||||
"macos/libraygui.a",
|
"macos/libraygui.a",
|
||||||
|
|||||||
Reference in New Issue
Block a user