mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
RAYLIB_SHARED: use /NODEFAULTLIB:msvcrt instead of /NODEFAULTLIB:libcmt. This fixes linker errors.
This commit is contained in:
Vendored
+1
-1
@@ -99,7 +99,7 @@ RAYLIB_SHARED :: #config(RAYLIB_SHARED, false)
|
|||||||
|
|
||||||
when ODIN_OS == .Windows {
|
when ODIN_OS == .Windows {
|
||||||
when RAYLIB_SHARED {
|
when RAYLIB_SHARED {
|
||||||
@(extra_linker_flags="/NODEFAULTLIB:libcmt")
|
@(extra_linker_flags="/NODEFAULTLIB:msvcrt")
|
||||||
foreign import lib {
|
foreign import lib {
|
||||||
"windows/raylibdll.lib",
|
"windows/raylibdll.lib",
|
||||||
"system:Winmm.lib",
|
"system:Winmm.lib",
|
||||||
|
|||||||
Reference in New Issue
Block a user