Missing lib imports for raylib on macOS
The following frameworks are required for linking to work (due to dependency on glfw):
Cocoa, OpenGL, IOKit
This commit is contained in:
1 parent
d50786bd30
commit
9fa41a97b9
1 file changed
+6
-1
Vendored
+6
-1
@@ -106,7 +106,12 @@ when ODIN_OS == .Windows {
|
|||||||
"system:pthread",
|
"system:pthread",
|
||||||
}
|
}
|
||||||
} else when ODIN_OS == .Darwin {
|
} else when ODIN_OS == .Darwin {
|
||||||
foreign import lib "macos/libraylib.a"
|
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