at master 599 B view raw
1addPerlLibPath () { 2 addToSearchPath PERL5LIB $1/lib/perl5/site_perl/@version@ 3 addToSearchPath PERL5LIB $1/lib/perl5/site_perl/cross_perl/@version@ 4 # Adding the arch-specific directory is morally incorrect, as 5 # miniperl can't load the native modules there. However, it can 6 # (and sometimes needs to) load and run some of the pure perl 7 # code there, so we add it anyway. When needed, stubs can be put 8 # into $1/lib/perl5/site_perl/cross_perl/@version@ 9 addToSearchPath PERL5LIB $1/lib/perl5/site_perl/@version@/@runtimeArch@ 10} 11 12addEnvHooks "$hostOffset" addPerlLibPath