mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
nodejs: add 0.12 version of node
add node-js 0.12 and a few gyp bindings Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
--- a/lib/module.js
|
||||
+++ b/lib/module.js
|
||||
@@ -512,7 +512,8 @@
|
||||
var 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'));
|
||||
Reference in New Issue
Block a user