From 0e7023d64190f563208de8bb11c6c582ce2eef3c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Nov 2014 04:44:50 +0000 Subject: Fix compilation without PCRE. git-svn-id: http://svn.drobilla.net/sord/trunk@317 3d64ff67-21c5-427c-a301-fe4f08042e5a --- wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wscript') 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'], -- cgit v1.2.1