LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File nodejs-libpath64.patch of Package nodejs (Project home:dirkmueller:branches:devel:languages:nodejs)

Index: node-v6.2.2/lib/module.js
===================================================================
--- node-v6.2.2.orig/lib/module.js
+++ node-v6.2.2/lib/module.js
@@ -587,7 +587,7 @@ Module._initPaths = function() {
     homeDir = process.env.HOME;
   }
 
-  var paths = ['/usr/lib/node_modules', '/usr/lib/node'];
+  var paths = ['/usr/lib64/node_modules', '/usr/lib/node_modules', '/usr/lib/node'];
 
   if (homeDir) {
     paths.unshift(path.resolve(homeDir, '.node_libraries'));