This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
no more 'make install && make test' with shared libperl.so on Linux
[perl5.git] / Makefile.SH
index a062380..193b265 100644 (file)
@@ -110,6 +110,9 @@ esac
 case "$osname" in
 os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
        ;;
+linux)
+       ldlibpth="LD_PRELOAD=\"\$\$LD_PRELOAD `pwd`/$libperl\" $ldlibpth"
+       ;;
 esac
 
 : Prepare dependency lists for Makefile.