summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-22 04:44:50 +0000
committerDavid Robillard <d@drobilla.net>2014-11-22 04:44:50 +0000
commit0e7023d64190f563208de8bb11c6c582ce2eef3c (patch)
treec0bcc0975d5e662bbacb9af525a01ce351c5b0a5
parent5558f42abb8aa701b0b6c441fc18e83a752562a8 (diff)
downloadsord-0e7023d64190f563208de8bb11c6c582ce2eef3c.tar.gz
sord-0e7023d64190f563208de8bb11c6c582ce2eef3c.tar.bz2
sord-0e7023d64190f563208de8bb11c6c582ce2eef3c.zip
Fix compilation without PCRE.
git-svn-id: http://svn.drobilla.net/sord/trunk@317 3d64ff67-21c5-427c-a301-fe4f08042e5a
-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'],