diff --git a/src/node.js b/src/node.js index 3da5f7942a..1cf7989150 100644 --- a/src/node.js +++ b/src/node.js @@ -53,7 +53,7 @@ clearInterval = clearTimeout; // Module node.libraryPaths = [ node.path.join(ENV["HOME"], ".node_libraries") - , node.path.join(node.installPrefix, "lib/node_libraries") + , node.path.join(node.installPrefix, "lib/node/libraries") , "/" ]; diff --git a/wscript b/wscript index 4f7b077a6b..00c529befa 100644 --- a/wscript +++ b/wscript @@ -372,4 +372,9 @@ def build(bld): """); bld.install_files('${PREFIX}/share/man/man1/', 'doc/node.1'); bld.install_files('${PREFIX}/bin/', 'bin/*', chmod=0755); - bld.install_files('${PREFIX}/lib/node_libraries/', 'lib/*.js'); + + # Why am I using two lines? Because WAF SUCKS. + bld.install_files('${PREFIX}/lib/node/wafadmin', 'tools/wafadmin/*.py'); + bld.install_files('${PREFIX}/lib/node/wafadmin/Tools', 'tools/wafadmin/Tools/*.py'); + + bld.install_files('${PREFIX}/lib/node/libraries/', 'lib/*.js');