Skip to content

Commit 2492c07

Browse files
authoredApr 9, 2018
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 lewissbaker#73
1 parent 5aa1cd1 commit 2492c07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎config.cake

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ if cake.system.isWindows() or cake.system.isCygwin():
139139
compiler.runtimeLibraries = 'debug-dll'
140140
compiler.addLibrary('msvcrtd')
141141
compiler.addLibrary('msvcprtd')
142-
compiler.addLibrary('msvcurtd')
142+
compiler.addLibrary('vcruntimed')
143143
compiler.addLibrary('ucrtd')
144144
compiler.addLibrary('oldnames')
145145

@@ -161,7 +161,7 @@ if cake.system.isWindows() or cake.system.isCygwin():
161161
compiler.runtimeLibraries = 'release-dll'
162162
compiler.addLibrary('msvcrt')
163163
compiler.addLibrary('msvcprt')
164-
compiler.addLibrary('msvcurt')
164+
compiler.addLibrary('vcruntime')
165165
compiler.addLibrary('ucrt')
166166
compiler.addLibrary('oldnames')
167167

0 commit comments

Comments
 (0)
Please sign in to comment.