Make sure tsget and c_rehash are named with .pl suffix on Windows and VMS
[openssl.git] / tools / build.info
index 3810fbc..059e582 100644 (file)
@@ -1,4 +1,7 @@
+{- our $c_rehash_name =
+       $config{target} =~ /^(VC|vms)-/ ? "c_rehash.pl" : "c_rehash";
+   "" -}
 IF[{- !$disabled{apps} -}]
-  SCRIPTS=c_rehash
-  SOURCE[c_rehash]=c_rehash.in
+  SCRIPTS={- $c_rehash_name -}
+  SOURCE[{- $c_rehash_name -}]=c_rehash.in
 ENDIF