perl: Separate compile-time environment from runtime environment
[openssl.git] / tools / build.info
index 3810fbcbe08f19aab6e732491981f754be570fce..059e58234576c6e5265fa225f9e8418d665d459d 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