diff --git a/configure b/configure index 36dbdce35a7..3445153c095 100755 --- a/configure +++ b/configure @@ -495,7 +495,10 @@ def configure_node(o): else: o['variables']['node_use_perfctr'] = 'false' - o['variables']['node_tag'] = options.tag or '' + if options.tag: + o['variables']['node_tag'] = '-' + options.tag + else: + o['variables']['node_tag'] = '' def configure_libz(o): diff --git a/src/node_version.h b/src/node_version.h index e6e200f7d14..f74b226d4db 100644 --- a/src/node_version.h +++ b/src/node_version.h @@ -27,7 +27,7 @@ #define NODE_PATCH_VERSION 5 #ifndef NODE_TAG -# define NODE_TAG "" +# define NODE_TAG "" #endif #define NODE_VERSION_IS_RELEASE 0