Permalink
Browse files

Build fixes

- Fix sunos
- Reuse npm's node-gyp instead of pulling in our own copy
  • Loading branch information...
1 parent e034e26 commit 95cfbf82db08bd22ce8bd43539b20f79864ca74b @laverdet committed May 14, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −0 binding.gyp
  2. +2 −2 build.js
  3. +1 −2 package.json
View
@@ -6,6 +6,7 @@
# Replace gyp platform with node platform, blech
['platform == "mac"', {'variables': {'platform': 'darwin'}}],
['platform == "win"', {'variables': {'platform': 'win32'}}],
+ ['platform == "solaris"', {'variables': {'platform': 'sunos'}}],
],
'targets': [
{
View
@@ -33,8 +33,8 @@ if (!force) {
// Build it
spawn(
- 'node',
- ['./node_modules/node-gyp/bin/node-gyp.js', 'rebuild'].concat(args),
+ 'node-gyp',
+ ['rebuild'].concat(args),
{customFds: [0, 1, 2]})
.on('exit', function(err) {
if (err) {
View
@@ -17,6 +17,5 @@
},
"engines": {
"node": ">=0.5.2"
- },
- "dependencies": {"node-gyp": "*"}
+ }
}

0 comments on commit 95cfbf8

Please sign in to comment.