Skip to content

Commit

Permalink
Revert "Process symlinked shared library as .node"
Browse files Browse the repository at this point in the history
This reverts commit 7e0bf7d.

It's possible to make GYP generate an XCode project that produces a .node file,
hence this commit is no longer needed.
  • Loading branch information
bnoordhuis committed Feb 1, 2012
1 parent 7e0bf7d commit 3deceaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/module.js
Expand Up @@ -467,11 +467,11 @@ Module._extensions['.json'] = function(module, filename) {
};


//Native extension for .node and OS-specific equivalents
//Native extension for .node
Module._extensions['.node'] = function(module, filename) {
process.dlopen(filename, module.exports);
};
Module._extensions['.dylib'] = Module._extensions['.node'];


// bootstrap main module.
Module.runMain = function() {
Expand Down

0 comments on commit 3deceaf

Please sign in to comment.