Change 19056 wasn't good enough.
Rafael Garcia-Suarez [Mon, 24 Mar 2003 21:43:03 +0000 (21:43 +0000)]
ldlibpth should be changed later, to avoid spaces to be quoted.

p4raw-id: //depot/perl@19059

Makefile.SH

index 1281c12..9fa3257 100644 (file)
@@ -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