Commit 93057331 by Rod Vagg

allow loading of Debug builds

parent 3ff1d6f9
......@@ -5,7 +5,8 @@ var assign = require('object-assign');
function requireBinding() {
var v8 = 'v8-' + /[0-9]+\.[0-9]+/.exec(process.versions.v8)[0];
var candidates = [
[__dirname, 'build', 'Release', 'obj.target', 'binding.node'],
[__dirname, 'build', 'Release', 'binding.node'],
[__dirname, 'build', 'Debug', 'binding.node'],
[__dirname, 'bin', process.platform + '-' + process.arch + '-' + v8, 'binding.node']
];
var candidate;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment