Skip to content

Commit

Permalink
Link C++ runtime statically on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
TautvydasZilys committed Oct 16, 2021
1 parent fd5ea2f commit 5a1635e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/buildscripts/build_runtime_vs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ sub CompileVCProj
$config = $debug ? "Debug" : "Release";
my $arch = $arch32 ? "Win32" : "x64";
my $target = $clean ? "/t:Clean,Build" :"/t:Build";
my $properties = "/p:Configuration=$config;Platform=$arch;MONO_TARGET_GC=$gc";
my $properties = "/p:Configuration=$config;Platform=$arch;MONO_TARGET_GC=$gc;MONO_USE_STATIC_C_RUNTIME=true";

print (">>> $msbuild $properties $target $sln\n\n");
system($msbuild, $properties, $target, $sln) eq 0
Expand Down

0 comments on commit 5a1635e

Please sign in to comment.