Skip to content
Permalink
Browse files

Make --no-relocatable work

The option was not retrieved correctly and thus had no effect.
Requires an nqp-configure bump.
  • Loading branch information...
patzim committed May 27, 2019
1 parent ef76601 commit 3fffe2830ba1a1e8362d10dd7e11c8369bfdcbff
Showing with 3 additions and 3 deletions.
  1. +3 −3 tools/lib/NQP/Config/Rakudo.pm
@@ -278,9 +278,9 @@ sub configure_moar_backend {
$config->{ldflags} =~ s/\Q$nqp_config->{'moar::ldrpath_relocatable'}\E ?//;
$config->{ldflags} .= ' '
. (
$self->{no_relocatable}
? $nqp_config->{'moar::ldrpath'}
: $nqp_config->{'moar::ldrpath_relocatable'}
$self->{relocatable}
? $nqp_config->{'moar::ldrpath_relocatable'}
: $nqp_config->{'moar::ldrpath'}
);
$config->{ldlibs} = $nqp_config->{'moar::ldlibs'};
$config->{'mingw_unicode'} = '';

0 comments on commit 3fffe28

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