summaryrefslogtreecommitdiffstats
path: root/tools/build.info
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build.info')
-rw-r--r--tools/build.info7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/build.info b/tools/build.info
index 3810fbcbe0..059e582345 100644
--- a/tools/build.info
+++ b/tools/build.info
@@ -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