aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-16 01:16:34 +0000
committerDavid Robillard <d@drobilla.net>2011-03-16 01:16:34 +0000
commitb5f5331964c12be9460b0ca2e15a5fc65da53133 (patch)
treeb6f2e651905e5804e8425d80af49a0540629269b
parent25bc57628bc2a8d7370357705163404db372396b (diff)
downloadmachina-b5f5331964c12be9460b0ca2e15a5fc65da53133.tar.gz
machina-b5f5331964c12be9460b0ca2e15a5fc65da53133.tar.bz2
machina-b5f5331964c12be9460b0ca2e15a5fc65da53133.zip
Update for new waf/autowaf.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3097 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/engine/wscript4
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)