Skip to content

Commit 2e79dae

Browse files
committed
Merge pull request #102 from hoelzro/master
Restore --dynext processing for Parrot
2 parents 1ff01d2 + 831cb3a commit 2e79dae

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/NQP/World.nqp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ class NQP::World is HLL::World {
3333
%!code_object_fixup_list := nqp::hash();
3434
%!code_stub_sc_idx := nqp::hash();
3535
@!clearup_tasks := nqp::list();
36+
37+
#?if parrot
38+
if nqp::defined(%*COMPILING<%?OPTIONS><dynext>) {
39+
my $dynext_path := %*COMPILING<%?OPTIONS><dynext>;
40+
my @dynext_paths := pir::getinterp__P()[pir::const::IGLOBALS_LIB_PATHS][pir::const::PARROT_LIB_PATH_DYNEXT];
41+
42+
@dynext_paths.push($dynext_path);
43+
}
44+
#?endif
3645
}
3746

3847
# Creates a new lexical scope and puts it on top of the stack.

0 commit comments

Comments
 (0)