summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-04-11 08:50:43 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-04-11 08:50:43 -0700
commitee2f17d2b446f792827dd449dcafc3dd986a7ffa (patch)
tree498a7d1686e256c3b680244d59f32021d9ffa1f8 /configure
parentc45378a88c232a070995999c28b46febc2270bc9 (diff)
downloadqtlocation-mapboxgl-ee2f17d2b446f792827dd449dcafc3dd986a7ffa.tar.gz
fix build on travis
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 7156568ba2..2fa0a149ae 100755
--- a/configure
+++ b/configure
@@ -17,6 +17,11 @@ parser.add_option("--debug",
dest="debug",
help="Also build debug build")
+parser.add_option("--node",
+ action="store",
+ dest="node",
+ help="Name of the node executable (defaults to node)")
+
parser.add_option("--pkg-config-root",
action="store",
dest="pkgconfig_root",
@@ -48,6 +53,10 @@ def configure_llmr(o):
o['variables']['boost_root'] = options.boost_root
else:
o['variables']['boost_root'] = '/usr/local'
+ if options.node:
+ o['variables']['node'] = options.node
+ else:
+ o['variables']['node'] = 'node'
o['target_defaults']['default_configuration'] = 'Debug' if options.debug else 'Release'
def configure_glfw3(o):