Browse files

Make kstat build/work on node 0.10

With 0.10, node-gyp requires this notion of `NODE_MODULE`, else you get unresolved symbols at runtime.  This whopping one-line change will allow kstat to work in manta, amongst every other place that node 0.10 is default.  When merged, you should publish to npm with  a new major version such that 0.8 behavior is not altered.
  • Loading branch information...
1 parent d422c59 commit 7a424b8c3bacc3134628fab74bd5a18f8428b3ba @mcavage mcavage committed Nov 13, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0
@@ -389,3 +389,5 @@ init (Handle<Object> target)
+NODE_MODULE(kstat, init);

0 comments on commit 7a424b8

Please sign in to comment.