Use $(PERL) when calling scripts in mk1mf.pl
authorDr. Stephen Henson <steve@openssl.org>
Wed, 3 Apr 2013 21:38:18 +0000 (22:38 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 3 Apr 2013 21:38:18 +0000 (22:38 +0100)
util/mk1mf.pl

index ed65a05..087671b 100755 (executable)
@@ -1355,7 +1355,7 @@ sub do_copy_rule
                if ($n =~ /bss_file/)
                        { $pp=".c"; }
                else    { $pp=$p; }
-               $ret.="$to${o}$n$pp: \$(SRC_D)$o$_$pp $to\n\t\$(SRC_D)${o}util${o}copy-if-different.pl \"\$(SRC_D)$o$_$pp\" \"$to${o}$n$pp\"\n\n";
+               $ret.="$to${o}$n$pp: \$(SRC_D)$o$_$pp $to\n\t\$(PERL) \$(SRC_D)${o}util${o}copy-if-different.pl \"\$(SRC_D)$o$_$pp\" \"$to${o}$n$pp\"\n\n";
                }
        return($ret);
        }