mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 07:06:23 +01:00
allow linking unbundled versions of some libraries
(libltc, rubberband, taglib, vamp-sdk)
This commit is contained in:
parent
85fd343145
commit
5f00d2f3a7
23 changed files with 102 additions and 51 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue