Skip to content

Commit

Permalink
Merge pull request #2820 from patzim/openbsd-no-relocatable
Browse files Browse the repository at this point in the history
Never build a relocatable rakudo on OpenBSD
  • Loading branch information
ugexe committed Apr 6, 2019
2 parents 5e8451f + d3d4b2e commit f4c2322
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Configure.pl
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@
close($CONFIG_STATUS);
}

# Relocatability is not supported on AIX.
$options{'no-relocatable'} = 1 if $^O eq 'aix';
# Relocatability is not supported on AIX and OpenBSD.
$options{'no-relocatable'} = 1 if $^O eq 'aix' || $^O eq 'openbsd';

$config{prefix} = $prefix;
$config{libdir} = $options{libdir};
Expand Down Expand Up @@ -447,7 +447,8 @@ sub print_help {
--libdir=<path> Install architecture-specific files in dir; Perl6 modules included
--no-relocatable
Create a perl6 with a fixed NQP and Perl6 home dir instead of dynamically identifying it
(On AIX MoarVM is always built non-relocatable, since AIX misses a necessary mechanism.)
(On AIX and OpenBSD rakudo is always built non-relocatable, since both OS' miss the
necessary mechanism to make this work.)
--sdkroot=<path> When given, use for searching build tools here, e.g.
nqp, java, node etc.
--sysroot=<path> When given, use for searching runtime components here
Expand Down

0 comments on commit f4c2322

Please sign in to comment.