Skip to content

Commit

Permalink
Add separate libs alongside ucrt
Browse files Browse the repository at this point in the history
+vcruntime.lib
+kernel32.lib

Identified in ocaml#122
  • Loading branch information
jonahbeckford committed Sep 28, 2023
1 parent c02ce3a commit 896b7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reloc.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ let build_dll link_exe output_file files exts extra_args =
let _impexp = add_temp (Filename.chop_suffix implib ".lib" ^ ".exp") in
let extra_args =
if !custom_crt then "/nodefaultlib:LIBCMT /nodefaultlib:MSVCRT " ^ extra_args
else "ucrt.lib " ^ extra_args
else "ucrt.lib vcruntime.lib kernel32.lib " ^ extra_args
in

let extra_args =
Expand Down

0 comments on commit 896b7a8

Please sign in to comment.