mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
raylib/rlgl: fix foreign imports after update to 5.5
This commit is contained in:
Vendored
+3
-5
@@ -134,19 +134,17 @@ when ODIN_OS == .Windows {
|
|||||||
// multiple copies of raylib.so, but since these bindings are for
|
// multiple copies of raylib.so, but since these bindings are for
|
||||||
// particular version of the library, I better specify it. Ideally,
|
// particular version of the library, I better specify it. Ideally,
|
||||||
// though, it's best specified in terms of major (.so.4)
|
// though, it's best specified in terms of major (.so.4)
|
||||||
"../linux/libraylib.so.500" when RAYLIB_SHARED else "../linux/libraylib.a",
|
"../linux/libraylib.so.550" when RAYLIB_SHARED else "../linux/libraylib.a",
|
||||||
"system:dl",
|
"system:dl",
|
||||||
"system:pthread",
|
"system:pthread",
|
||||||
}
|
}
|
||||||
} else when ODIN_OS == .Darwin {
|
} else when ODIN_OS == .Darwin {
|
||||||
foreign import lib {
|
foreign import lib {
|
||||||
"../macos" +
|
"../macos/libraylib.550.dylib" when RAYLIB_SHARED else "../macos/libraylib.a",
|
||||||
("-arm64" when ODIN_ARCH == .arm64 else "") +
|
|
||||||
"/libraylib" + (".500.dylib" when RAYLIB_SHARED else ".a"),
|
|
||||||
"system:Cocoa.framework",
|
"system:Cocoa.framework",
|
||||||
"system:OpenGL.framework",
|
"system:OpenGL.framework",
|
||||||
"system:IOKit.framework",
|
"system:IOKit.framework",
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
foreign import lib "system:raylib"
|
foreign import lib "system:raylib"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user