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
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 24 Mar 2003 07:05:39 +0000 (07:05 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 24 Mar 2003 07:05:39 +0000 (07:05 +0000)
From: Enache Adrian <enache@rdslink.ro>
Date: Sat, 22 Mar 2003 22:49:49 +0200
Message-ID: <20030322204949.GB794@ratsnest.hole>

This is a slightly more defensive patch than Chip's patch that
fell through the cracks, but does the same
Subject: Shared libperl.so and build issues
From: Chip Turner <cturner@redhat.com>
Date: Tue 31 Dec 2002 17:21

p4raw-id: //depot/perl@19055

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.