From b5f5331964c12be9460b0ca2e15a5fc65da53133 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Mar 2011 01:16:34 +0000 Subject: Update for new waf/autowaf. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3097 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/wscript b/src/engine/wscript index f4f8e82..43445a8 100644 --- a/src/engine/wscript +++ b/src/engine/wscript @@ -22,7 +22,7 @@ def build(bld): Updates.cpp URIs.cpp ''' - if bld.env['HAVE_EUGENE']: + if bld.is_defined('HAVE_EUGENE'): core_source += ''' Evolver.cpp Problem.cpp @@ -34,7 +34,7 @@ def build(bld): obj.name = 'libmachina_engine' obj.target = 'machina_engine' core_libs = 'GLIBMM GTHREAD RAUL SORD JACK' - if bld.env['HAVE_EUGENE']: + if bld.is_defined('HAVE_EUGENE'): core_libs += ' EUGENE ' autowaf.use_lib(bld, obj, core_libs) -- cgit v1.2.1