Skip to content
Permalink
Browse files

C escape static home paths in runner

They contain backslashes that need to be escaped.
  • Loading branch information...
patzim committed Jun 1, 2019
1 parent 02e7870 commit c63c06e7c4686e1410e1629619dc2835c99bc333
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/lib/NQP/Config/Rakudo.pm
@@ -286,9 +286,9 @@ sub configure_moar_backend {
$config->{static_perl6_home} =
File::Spec->rel2abs(File::Spec->catdir( $config->{prefix}, 'share', 'perl6' ));
$config->{static_nqp_home_define} =
'-DSTATIC_NQP_HOME=' . $config->{static_nqp_home};
'-DSTATIC_NQP_HOME=' . $self->c_escape_string( $config->{static_nqp_home} );
$config->{static_perl6_home_define} =
'-DSTATIC_PERL6_HOME=' . $config->{static_perl6_home};
'-DSTATIC_PERL6_HOME=' . $self->c_escape_string( $config->{static_perl6_home} );
}

# Strip rpath from ldflags so we can set it differently ourself.

0 comments on commit c63c06e

Please sign in to comment.
You can’t perform that action at this time.