RAYLIB_SHARED: use /NODEFAULTLIB:msvcrt instead of /NODEFAULTLIB:libcmt. This fixes linker errors.
This commit is contained in:
1 parent
62d0b0ae72
commit
764ce2a4b0
1 file changed
+1
-1
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