Skip to content

Commit

Permalink
kfreebsd is using make
Browse files Browse the repository at this point in the history
  • Loading branch information
kapouer committed Sep 19, 2013
1 parent e04a99d commit 7ec91d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/build.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

module.exports = exports = build

/**
Expand All @@ -20,7 +19,7 @@ exports.usage = 'Invokes `' + (win ? 'msbuild' : 'make') + '` and builds the mod
function build (gyp, argv, callback) {

var makeCommand = gyp.opts.make || process.env.MAKE
|| (process.platform.indexOf('bsd') != -1 ? 'gmake' : 'make')
|| (process.platform.indexOf('bsd') != -1 && process.platform.indexOf('kfreebsd') == -1 ? 'gmake' : 'make')
, command = win ? 'msbuild' : makeCommand
, buildDir = path.resolve('build')
, configPath = path.resolve(buildDir, 'config.gypi')
Expand Down

0 comments on commit 7ec91d6

Please sign in to comment.