diff options
-rw-r--r-- | src/engine/wscript | 4 |
1 files 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) |