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 ed65a057f0fe3bc6bd445d727b2dd1f7eb38cac3..087671b6c3cc0ed34832ac3ac5a2cceb0dd10cad 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);
        }