USS V2R10 seems to be happier with env FOO=... cmd ...
Jarkko Hietaniemi [Sat, 26 Jan 2002 23:54:50 +0000 (23:54 +0000)]
instead of just FOO=... cmd ...

p4raw-id: //depot/perl@14437

Makefile.SH

index 9405eeb..77ed8fe 100644 (file)
@@ -105,6 +105,11 @@ case "`pwd`" in
 *" "*) ldlibpth=`echo $ldlibpth|sed 's/ /\\\\ /g'` ;;
 esac
 
+case "$osname" in
+os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
+       ;;
+esac
+
 : Prepare dependency lists for Makefile.
 dynamic_list=' '
 for f in $dynamic_ext; do