Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

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 ec79acb commit a9723df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/module.js
Expand Up @@ -469,11 +469,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 a9723df

Please sign in to comment.