Skip to content
This repository
Browse code

fix can't run on node v0.6.x

  • Loading branch information...
commit cac880436afa9a960aebc7fe5a0f0f94a9aad295 1 parent 7abf64f
Bunny Yiu authored November 20, 2011

Showing 2 changed files with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 2  package.json
  2. 2  wscript
2  package.json
@@ -8,7 +8,7 @@
8 8
     { "name": "Seth Fitzsimmons", "email": "seth@mojodna.net" },
9 9
     { "name": "Wade Simmons", "email": "wade@wades.im" }
10 10
   ],
11  
-  "main": "build/default/hashlib",
  11
+  "main": "build/Release/hashlib",
12 12
   "directories": { "lib": "./build/Release" },
13 13
   "engines": { "node": ">= 0.5.5" }
14 14
 }
2  wscript
@@ -12,6 +12,8 @@ def configure(conf):
12 12
   conf.check_tool("node_addon")
13 13
   conf.env.append_value('CPPFLAGS', ['-Du_int32_t=uint32_t', '-Du_int16_t=uint16_t'])
14 14
   conf.env.append_value('CCFLAGS', ['-O3'])
  15
+  conf.env.set_variant('Release') 
  16
+
15 17
 
16 18
 def build(bld):
17 19
   libhash = bld.new_task_gen("cc", "shlib")

0 notes on commit cac8804

Please sign in to comment.
Something went wrong with that request. Please try again.