build: expand ~ in ./configure --prefix=~/a/b/c

This commit is contained in:
Ben Noordhuis 2012-06-26 16:34:07 +02:00
parent 07e5877144
commit 06c82c5069

2
configure vendored
View File

@ -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()