diff --git a/lib/build.js b/lib/build.js index 0445fb6452..2f8e14c374 100644 --- a/lib/build.js +++ b/lib/build.js @@ -23,6 +23,10 @@ function build (gyp, argv, callback) { platformMake = 'gmake' } else if (process.platform.indexOf('bsd') !== -1) { platformMake = 'gmake' + } else if (win && argv.length > 0) { + argv = argv.map(function(target) { + return '/t:' + target + }) } var release = processRelease(argv, gyp, process.version, process.release)