Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
probe for node(js) in Configure.pl
  • Loading branch information
moritz committed Feb 14, 2015
1 parent 6aa5d8d commit 4ffd64f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Configure.pl
Expand Up @@ -10,6 +10,7 @@
use lib "tools/lib";
use NQP::Configure qw(cmp_rev read_parrot_config gen_moar
fill_template_file fill_template_text
probe_node
slurp system_or_die verify_install sorry gen_parrot);

my @known_backends = qw/moar jvm parrot js/;
Expand Down Expand Up @@ -230,6 +231,8 @@

if ($backends{js}) {
$config{'make'} = $^O eq 'MSWin32' ? 'nmake' : 'make';
$config{'node'} = probe_node()
or sorry('No node or nodejs binary found');
fill_template_file(
'tools/build/Makefile-JS.in',
$MAKEFILE,
Expand Down

0 comments on commit 4ffd64f

Please sign in to comment.