From: Rafael Garcia-Suarez Date: Mon, 24 Mar 2003 21:43:03 +0000 (+0000) Subject: Change 19056 wasn't good enough. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=60d790016f9a602e57865a57da59741adc77fbe4;p=p5sagit%2Fp5-mst-13.2.git Change 19056 wasn't good enough. ldlibpth should be changed later, to avoid spaces to be quoted. p4raw-id: //depot/perl@19059 --- diff --git a/Makefile.SH b/Makefile.SH index 1281c12..9fa3257 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -96,11 +96,6 @@ true) ldlibpth=`echo $ldlibpth | sed 's/:*$//'` ;; esac - case "$osname" in - linux) - ldlibpth="LD_PRELOAD=\"\$\$LD_PRELOAD `pwd`/$libperl\" $ldlibpth" - ;; - esac ;; *) pldlflags='' static_target='static' @@ -113,6 +108,13 @@ case "$ldlibpth" in esac case "$osname" in +linux) + case "$useshrplib" in + true) + ldlibpth="LD_PRELOAD=\"\$\$LD_PRELOAD `pwd`/$libperl\" $ldlibpth" + ;; + esac + ;; os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth" ;; esac