From 2492c0782911cdf7fe803642040efff3faa3c28a Mon Sep 17 00:00:00 2001 From: Lewis Baker Date: Mon, 9 Apr 2018 11:55:53 +0930 Subject: [PATCH] Link against vcruntime[d].lib instead of msvcurt[d].lib The msvcurt[d].lib is actually intended for C++/CLI usage and seems to no longer being bundled with the default VS install in more recent Visual Studio 2017 installs. Should fix #73 --- config.cake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.cake b/config.cake index a9a0925b..58c31558 100644 --- a/config.cake +++ b/config.cake @@ -139,7 +139,7 @@ if cake.system.isWindows() or cake.system.isCygwin(): compiler.runtimeLibraries = 'debug-dll' compiler.addLibrary('msvcrtd') compiler.addLibrary('msvcprtd') - compiler.addLibrary('msvcurtd') + compiler.addLibrary('vcruntimed') compiler.addLibrary('ucrtd') compiler.addLibrary('oldnames') @@ -161,7 +161,7 @@ if cake.system.isWindows() or cake.system.isCygwin(): compiler.runtimeLibraries = 'release-dll' compiler.addLibrary('msvcrt') compiler.addLibrary('msvcprt') - compiler.addLibrary('msvcurt') + compiler.addLibrary('vcruntime') compiler.addLibrary('ucrt') compiler.addLibrary('oldnames')