Browse Source

Merge pull request #2926 from karl-zylinski/raylib-shared-use-shared-runtime

RAYLIB_SHARED: use /NODEFAULTLIB:msvcrt
Jeroen van Rijn 1 year ago
parent
commit
59675949da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/raylib/raylib.odin

+ 1 - 1
vendor/raylib/raylib.odin

@@ -99,7 +99,7 @@ RAYLIB_SHARED :: #config(RAYLIB_SHARED, false)
 
 when ODIN_OS == .Windows {
 	when RAYLIB_SHARED {
-		@(extra_linker_flags="/NODEFAULTLIB:libcmt")
+		@(extra_linker_flags="/NODEFAULTLIB:msvcrt")
 		foreign import lib {
 			"windows/raylibdll.lib",
 			"system:Winmm.lib",