allow linking unbundled versions of some libraries

(libltc, rubberband, taglib, vamp-sdk)
This commit is contained in:
Nils Philippsen 2013-10-26 16:58:14 +02:00
parent 85fd343145
commit 5f00d2f3a7
23 changed files with 102 additions and 51 deletions

View file

@ -24,10 +24,16 @@ def options(opt):
autowaf.set_options(opt)
def configure(conf):
conf.load('compiler_cxx')
autowaf.configure(conf)
if conf.is_defined('USE_EXTERNAL_LIBS'):
autowaf.check_pkg(conf, 'taglib', uselib_store='TAGLIB', atleast_version="1.4", mandatory=True)
else:
conf.load('compiler_cxx')
autowaf.configure(conf)
def build(bld):
if bld.is_defined('USE_EXTERNAL_LIBS'):
return
# Library
obj = bld(features = 'cxx cxxshlib')
sources = bld.path.ant_glob('taglib/*.cpp')