Upgrade to Encode 1.92.
[p5sagit/p5-mst-13.2.git] / 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