Skip to content

Commit

Permalink
Link against vcruntime[d].lib instead of msvcurt[d].lib
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lewissbaker committed Apr 9, 2018
1 parent 5aa1cd1 commit 2492c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.cake
Expand Up @@ -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')

Expand All @@ -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')

Expand Down

0 comments on commit 2492c07

Please sign in to comment.