Closed ovaillancourt closed 12 years ago
As a head's up, these changes break compatibility with anything lower than node 0.5.5 because of the default/Release environment change. Oleg, you might want to adjust the current/upcoming packages' node version dependencies accordingly on npm. (Forgot to do that.)
See next commit.
Ok, just tweaked the package.json according to my previous comment.
+1 - please merge this asap!
For those who need to integrate this asap with their stuffs, use the following command :
npm install https://github.com/Hiverness/hashlib/tarball/compat_fix_node_0_6_X
It's only temporary though, I'm gonna remove that as soon as Oleg pushes this to npm.
+1
Now should compile properly.
Alrighty, I'll close the pull request! Thanks!
Fix for issue #25
[hashlib.cc] - Including node.h instead of ev.h and eio.h. node.h includes these files correctly, which might move around from one version of node to the other. (So basically, node.h should be included instead of specifically including ev and eio.) [README.md, makefile, package.json, test.js] - Changing the '/build/default/hashlib' path to '/build/Release/hashlib'. Node-waf, starting from node 0.5.5 uses the Release environment by default.