diff options
author | David Robillard <d@drobilla.net> | 2014-11-22 04:44:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-22 04:44:50 +0000 |
commit | 0e7023d64190f563208de8bb11c6c582ce2eef3c (patch) | |
tree | c0bcc0975d5e662bbacb9af525a01ce351c5b0a5 /wscript | |
parent | 5558f42abb8aa701b0b6c441fc18e83a752562a8 (diff) | |
download | sord-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
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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'], |