diff --git a/bin/build-bindings b/bin/build-bindings index e5bd406e..7b535542 100755 --- a/bin/build-bindings +++ b/bin/build-bindings @@ -9,6 +9,6 @@ if test x"$1" = x'debug'; then debug=--debug fi -node-gyp ${debug} rebuild +node-pre-gyp ${debug} rebuild --fallback-to-build diff --git a/binding.gyp b/binding.gyp index db85a5a3..d9f37e13 100755 --- a/binding.gyp +++ b/binding.gyp @@ -1,6 +1,6 @@ { 'targets': [{ - 'target_name': 'libbitcoind', + 'target_name': "<(module_name)", 'include_dirs' : [ '