mirror of
https://github.com/novatiq/packages.git
synced 2026-04-26 05:44:41 +01:00
While we're at it, also enable parallel builds. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
13 lines
439 B
Diff
13 lines
439 B
Diff
--- a/lib/module.js
|
|
+++ b/lib/module.js
|
|
@@ -453,7 +453,8 @@ Module._initPaths = function() {
|
|
homeDir = process.env.HOME;
|
|
}
|
|
|
|
- var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node')];
|
|
+ var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node'),
|
|
+ path.resolve(process.execPath, '..', '..', 'lib', 'node_modules')];
|
|
|
|
if (homeDir) {
|
|
paths.unshift(path.resolve(homeDir, '.node_libraries'));
|