summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/wscript b/wscript
index e605632..790656d 100644
--- a/wscript
+++ b/wscript
@@ -190,7 +190,10 @@ def build(bld):
# Utilities
if bld.env.BUILD_UTILS:
- for i in ['sordi', 'sord_validate']:
+ utils = ['sordi']
+ if bld.env.HAVE_PCRE:
+ utils += ['sord_validate']
+ for i in utils:
obj = bld(features = 'c cprogram',
source = 'src/%s.c' % i,
includes = ['.', './src'],