Skip to content

Commit

Permalink
fix can't run on node v0.6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnyyiu committed Nov 20, 2011
1 parent 7abf64f commit cac8804
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
{ "name": "Seth Fitzsimmons", "email": "seth@mojodna.net" },
{ "name": "Wade Simmons", "email": "wade@wades.im" }
],
"main": "build/default/hashlib",
"main": "build/Release/hashlib",
"directories": { "lib": "./build/Release" },
"engines": { "node": ">= 0.5.5" }
}
2 changes: 2 additions & 0 deletions wscript
Expand Up @@ -12,6 +12,8 @@ def configure(conf):
conf.check_tool("node_addon")
conf.env.append_value('CPPFLAGS', ['-Du_int32_t=uint32_t', '-Du_int16_t=uint16_t'])
conf.env.append_value('CCFLAGS', ['-O3'])
conf.env.set_variant('Release')


def build(bld):
libhash = bld.new_task_gen("cc", "shlib")
Expand Down

0 comments on commit cac8804

Please sign in to comment.