summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-03-24 21:43:03 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-03-24 21:43:03 +0000
commit60d790016f9a602e57865a57da59741adc77fbe4 (patch)
treec86e307e67da8caa142ce2b67fbea34ee9b83131 /Makefile.SH
parent8b04df2c9e49c07e46ff2dd73434b41270df3c02 (diff)
downloadperl-60d790016f9a602e57865a57da59741adc77fbe4.tar.gz
Change 19056 wasn't good enough.
ldlibpth should be changed later, to avoid spaces to be quoted. p4raw-id: //depot/perl@19059
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 1281c12931..9fa3257f60 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