diff options
author | Gabriel Schulhof <gabriel.schulhof@intel.com> | 2017-09-05 23:53:06 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2017-09-12 04:18:36 +0300 |
commit | 02260eab9858f4c49b0523d99cb7878900b685a6 (patch) | |
tree | 9574d2f8dfb655c2b29375c7926118bae6aaaf64 /benchmark | |
parent | ffed33710c72d24aab8511705815ce9ccb776e9e (diff) |
test,doc: make module name match gyp target name
Currently the nm_modname does not match the file name of the resulting
module. In fact, the nm_modname is pretty arbitrary. This seeks to
introduce some consistency into the nm_modname property by having the
name of the module appear in exactly one place: the "target_name"
property of the gyp target that builds the module.
PR-URL: https://github.com/nodejs/node/pull/15209
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/misc/function_call/binding.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/misc/function_call/binding.cc b/benchmark/misc/function_call/binding.cc index 9008f6c4370..95d2a56de26 100644 --- a/benchmark/misc/function_call/binding.cc +++ b/benchmark/misc/function_call/binding.cc @@ -14,4 +14,4 @@ extern "C" void init (Local<Object> target) { NODE_SET_METHOD(target, "hello", Hello); } -NODE_MODULE(binding, init) +NODE_MODULE(NODE_GYP_MODULE_NAME, init) |