Revert "Process symlinked shared library as .node"

This reverts commit 7e0bf7d57d.

It's possible to make GYP generate an XCode project that produces a .node file,
hence this commit is no longer needed.
v0.7.4-release
Ben Noordhuis 2012-02-01 22:25:55 +01:00
parent ec79acb3a6
commit a9723df1b7
1 changed files with 2 additions and 2 deletions

View File

@ -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) { Module._extensions['.node'] = function(module, filename) {
process.dlopen(filename, module.exports); process.dlopen(filename, module.exports);
}; };
Module._extensions['.dylib'] = Module._extensions['.node'];
// bootstrap main module. // bootstrap main module.
Module.runMain = function() { Module.runMain = function() {