diff --git a/binding.gyp b/binding.gyp
index f6536fc..232b444 100644
--- a/binding.gyp
+++ b/binding.gyp
@@ -8,7 +8,7 @@
'src/bcrypt_node.cc'
],
'include_dirs' : [
- "<!(node -e \"require('nan')\")"
+ "node_modules/nan"
],
'conditions': [
[ 'OS=="win"', {
@@ -21,11 +21,11 @@
{
"target_name": "action_after_build",
"type": "none",
- "dependencies": [ "<(module_name)" ],
+ "dependencies": [ "bcrypt_lib" ],
"copies": [
{
- "files": [ "<(PRODUCT_DIR)/<(module_name).node" ],
- "destination": "<(module_path)"
+ "files": [ "./build/Release/bcrypt_lib.node" ],
+ "destination": "./lib/binding/"
}
]
}