Skip to content

Commit 53d585c

Browse files
committed
Fix 0xc000007b: Use -fms-runtime-lib=static for MSVC runtime
1 parent 7b1e34e commit 53d585c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compile.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
2-
clang -o proxpl.exe -static -Iinclude -Isrc -D_CRT_SECURE_NO_WARNINGS -DPROX_STATIC ^
2+
clang -o proxpl.exe -static -fms-runtime-lib=static -Iinclude -Isrc -D_CRT_SECURE_NO_WARNINGS -DPROX_STATIC ^
33
src/main.c ^
44
src/compiler/lexer/scanner.c ^
55
src/compiler/parser/ast.c ^

0 commit comments

Comments
 (0)