build: expand ~ in ./configure --prefix=~/a/b/c
This commit is contained in:
parent
07e5877144
commit
06c82c5069
2
configure
vendored
2
configure
vendored
@ -258,7 +258,7 @@ def compiler_version():
|
|||||||
|
|
||||||
def configure_node(o):
|
def configure_node(o):
|
||||||
# TODO add gdb
|
# TODO add gdb
|
||||||
o['variables']['node_prefix'] = options.prefix if options.prefix else ''
|
o['variables']['node_prefix'] = os.path.expanduser(options.prefix or '')
|
||||||
o['variables']['node_install_npm'] = b(not options.without_npm)
|
o['variables']['node_install_npm'] = b(not options.without_npm)
|
||||||
o['variables']['node_install_waf'] = b(not options.without_waf)
|
o['variables']['node_install_waf'] = b(not options.without_waf)
|
||||||
o['variables']['host_arch'] = host_arch()
|
o['variables']['host_arch'] = host_arch()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user