prepare for update to waf 1.8

uselib is no longer implicit (inherited by .use). This is still incomplete,
some uselibs for non-linux variants may be missing.

bld.is_defined("HAVE_XXX") also no longer works and will have to be
changed (I think to bld.env["HAVE_XXX"]) in countless places.
This commit is contained in:
Robin Gareus 2016-02-28 21:16:44 +01:00
parent 49148b627c
commit ba78359129
25 changed files with 60 additions and 47 deletions

View file

@ -54,7 +54,10 @@ def build(bld):
obj.use = 'libvampplugin libqmdsp'
obj.defines = [ 'ARDOUR_VAMP_PLUGINS_DLL_EPORTS' ]
autowaf.ensure_visible_symbols (obj, True)
if bld.is_defined('HAVE_AUBIO'):
if bld.have_define('HAVE_AUBIO4'):
obj.source += ' Onset.cpp '
obj.uselib += ' AUBIO4 '
elif bld.have_define('HAVE_AUBIO'):
obj.source += ' Onset.cpp '
obj.uselib += ' AUBIO '
obj.vnum = LIBARDOURVAMPPLUGINS_LIB_VERSION