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
This commit is contained in:
parent
5aa1cd1ff9
commit
2492c07829
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue