Skip to content
Browse files

Never build a relocatable rakudo on AIX.

AIX has no support for rpath $ORIGIN or any similar mechanism. Thus
dynamically locating the relative to the executable path is
impossible in the C based perl6 runner. Once building a static moar
(without is possible we can use that instead.
  • Loading branch information...
patzim committed Feb 20, 2019
1 parent 1add622 commit 1d538977e2a0fe468b766258b72315d73c62d499
Showing with 4 additions and 0 deletions.
  1. +4 −0
@@ -144,6 +144,9 @@

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

$config{prefix} = $prefix;
$config{libdir} = $options{libdir};
$config{sdkroot} = $options{sdkroot} || '';
@@ -445,6 +448,7 @@ sub print_help {
--libdir=<path> Install architecture-specific files in dir; Perl6 modules included
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.)
--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

0 comments on commit 1d53897

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