summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-06-26 16:34:07 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2012-06-26 16:35:14 +0200
commit06c82c50697e4dc45c07b5c1f525e1cb82f13018 (patch)
treed6d21084518e6f4c1f933ebf6ebadfdcb3fd92a9 /configure
parent07e5877144d5d719f9bab1f866affb02deb23a0d (diff)
downloadandroid-node-v8-06c82c50697e4dc45c07b5c1f525e1cb82f13018.tar.gz
android-node-v8-06c82c50697e4dc45c07b5c1f525e1cb82f13018.tar.bz2
android-node-v8-06c82c50697e4dc45c07b5c1f525e1cb82f13018.zip
build: expand ~ in `./configure --prefix=~/a/b/c`
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e1c36e2a0e..2bf262b743 100755
--- a/configure
+++ b/configure
@@ -258,7 +258,7 @@ def compiler_version():
def configure_node(o):
# 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_waf'] = b(not options.without_waf)
o['variables']['host_arch'] = host_arch()