mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 21:19:50 +01:00
build: Add hyphen to custom build tags
so that ./configure --tag=foo makes a version number like v0.9.5-foo instead of v0.9.5foo
This commit is contained in:
parent
d76eacd4e6
commit
4be9c695f0
5
configure
vendored
5
configure
vendored
@ -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):
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user