Skip to content

Commit 7ec91d6

Browse files
committed
kfreebsd is using make
1 parent e04a99d commit 7ec91d6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/build.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
module.exports = exports = build
32

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

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

0 commit comments

Comments
 (0)