Skip to content

Commit 41debf4

Browse files
committed
add nqp language diretory to search path
1 parent de19034 commit 41debf4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vm/moar/ModuleLoader.nqp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ knowhow ModuleLoader {
1616
nqp::push(@search_paths, '.');
1717
nqp::push(@search_paths, 'blib');
1818

19+
# Add NQP language directory.
20+
my %conf := nqp::backendconfig();
21+
nqp::push(@search_paths, %conf<prefix> ~ '/languages/nqp/lib');
22+
1923
@search_paths
2024
}
2125

0 commit comments

Comments
 (0)