diff options
author | David Robillard <d@drobilla.net> | 2010-06-13 19:09:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-06-13 19:09:35 +0000 |
commit | 49fc7f02917f7616e1cfebac772588cd348cfc65 (patch) | |
tree | f24a162812278ada75b1f13452ee09526328f67c /wscript | |
parent | 503e7e8e2d2c26d213372d67fbe85dbbaea316a8 (diff) | |
download | patchage-49fc7f02917f7616e1cfebac772588cd348cfc65.tar.gz patchage-49fc7f02917f7616e1cfebac772588cd348cfc65.tar.bz2 patchage-49fc7f02917f7616e1cfebac772588cd348cfc65.zip |
Fix compilation without Jack.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2579 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -54,7 +54,8 @@ def configure(conf): conf.define('HAVE_JACK_DBUS', conf.env['HAVE_JACK_DBUS']) else: autowaf.check_pkg(conf, 'jack', uselib_store='JACK', atleast_version='0.107.0', mandatory=False) - conf.define('USE_LIBJACK', int(conf.env['HAVE_JACK'] == 1)) + if conf.env['HAVE_JACK'] == 1: + conf.define('USE_LIBJACK', 1) conf.define('HAVE_JACK_MIDI', int(conf.env['HAVE_JACK'] == 1 or conf.env['HAVE_JACK_DBUS'] == 1)) |