1 diff --git a/node_build/make.js b/node_build/make.js
2 index 1d0b0fa..b640f31 100644
3 --- a/node_build/make.js
4 +++ b/node_build/make.js
5 @@ -254,21 +254,8 @@ Builder.configure({
7 }).nThen(function (waitFor) {
9 - const dir = `${builder.config.buildDir}/../..`;
10 - Fs.readdir(dir, waitFor((err, ret) => {
11 - if (err) { throw err; }
12 - ret.forEach((f) => {
13 - if (!/^libsodium-sys-/.test(f)) { return; }
14 - const inclPath = `${dir}/${f}/out/source/libsodium/src/libsodium/include`;
15 - Fs.readdir(inclPath, waitFor((err, ret) => {
16 - if (foundSodium) { return; }
17 - if (err && err.code === 'ENOENT') { return; }
18 - if (err) { throw err; }
19 - builder.config.includeDirs.push(inclPath);
24 + builder.config.includeDirs.push("@libsodium_include_dir@");
27 }).nThen(function (waitFor) {