Skip to content

Commit

Permalink
Merge pull request #3604 from patrickbkr/fix-3591
Browse files Browse the repository at this point in the history
Fix building non-moar backends on Windows
  • Loading branch information
patrickbkr committed Apr 8, 2020
2 parents afff3b0 + 47650eb commit 9e19c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lib/NQP/Config/Rakudo.pm
Expand Up @@ -594,7 +594,6 @@ sub gen_nqp {
my $prefix = $config->{prefix};
my $sdkroot = $config->{'sdkroot'};
my $startdir = $config->{'base_dir'};
my $exe = $config->{exe};
my $nqp_want = $config->{nqp_want};
my $git_protocol = $options->{'git-protocol'} // 'https';
my @moar_options = @{ $options->{'moar-option'} // [] };
Expand All @@ -612,6 +611,7 @@ sub gen_nqp {
for my $b ( $self->active_backends ) {
my $bconfig = $self->backend_config($b);
my $postfix = $self->backend_abbr($b);
my $exe = $b eq 'moar' ? $config->{exe} : $config->{bat};
my $tpath = File::Spec->catfile( $prefix, 'bin', "nqp-$postfix$exe" );
my $bin = $bconfig->{nqp_bin}
|| (
Expand Down

0 comments on commit 9e19c1a

Please sign in to comment.