ldlibpth should be changed later, to avoid spaces to be quoted.
p4raw-id: //depot/perl@19059
ldlibpth=`echo $ldlibpth | sed 's/:*$//'`
;;
esac
- case "$osname" in
- linux)
- ldlibpth="LD_PRELOAD=\"\$\$LD_PRELOAD `pwd`/$libperl\" $ldlibpth"
- ;;
- esac
;;
*) pldlflags=''
static_target='static'
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