Browse files

support node > 0.7.5

  • Loading branch information...
1 parent 32d04ae commit 0e34e33a36986a2510579abd55e271cf428dd162 @hereandnow hereandnow committed Jul 31, 2012
Showing with 11 additions and 2 deletions.
  1. +9 −0 binding.gyp
  2. +1 −1 package.json
  3. +1 −1 wscript
View
9 binding.gyp
@@ -0,0 +1,9 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'binding',
+ 'sources': [ 'src/binding.cc', 'deps/libsnappy/snappy.cc', 'deps/libsnappy/snappy-sinksource.cc' ],
+ 'include_dirs': ['deps/libsnappy/']
+ }
+ ]
+}
View
2 package.json
@@ -2,7 +2,7 @@
"author": "David Björklund <david.bjorklund@gmail.com>",
"name": "snappy",
"description": "Nodejs bindings to Google's Snappy compression library",
- "version": "1.2.0",
+ "version": "1.3.0",
"homepage": "https://github.com/kesla/node-snappy",
"repository": {
"type": "git",
View
2 wscript
@@ -11,7 +11,7 @@ def set_options(opt):
def configure(conf):
conf.check_tool('compiler_cxx')
- conf.check_tool('node_gyp')
+ conf.check_tool('node_addon')
Utils.exec_command('./configure', cwd = './deps/libsnappy')

0 comments on commit 0e34e33

Please sign in to comment.