Browse Source

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 13 years ago
parent
commit
a9723df1b7
  1. 4
      lib/module.js

4
lib/module.js

@ -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() {

Loading…
Cancel
Save