Permalink
Browse files

Renamed the target to 'libvirt' and added 'product_prefix' to match the

definition in src/node_libvirt.cc's NODE_MODULE. This fixes a problem building
and using the module using newer versions of node (0.10.5). Also updated
the 'main' path in the package.json.
  • Loading branch information...
1 parent 33ef21a commit 4e3f47d5e766474ca0fc94c04cf228ffb57883a1 @dohpaz42 dohpaz42 committed May 10, 2013
Showing with 4 additions and 3 deletions.
  1. +2 −1 binding.gyp
  2. +1 −1 index.js
  3. +1 −1 package.json
View
@@ -1,7 +1,8 @@
{
'targets': [
{
- 'target_name': 'node-libvirt',
+ 'target_name': 'libvirt',
+ 'product_prefix': 'lib',
'sources': [
'src/node_libvirt.cc',
'src/domain.cc',
View
@@ -1 +1 @@
-module.exports = require('./build/Release/node-libvirt');
+module.exports = require('./build/Release/libvirt');
View
@@ -19,5 +19,5 @@
"engines": {
"node": ">=0.6.0"
},
- "main": "build/Release/src/libvirt.node"
+ "main": "build/Release/libvirt.node"
}

0 comments on commit 4e3f47d

Please sign in to comment.