summaryrefslogtreecommitdiff
path: root/libs/rubberband/wscript
diff options
context:
space:
mode:
authorNils Philippsen <nils@tiptoe.de>2013-10-26 16:58:14 +0200
committerNils Philippsen <nils@tiptoe.de>2013-10-28 09:06:09 +0100
commit5f00d2f3a7afaccaeb9f3057d55d5e1e59c54e47 (patch)
treeee5d0f92979a21ad710e0712815d5e1a56ab9c91 /libs/rubberband/wscript
parent85fd343145c3ce1e2e5804c75aeccd03cf2c38a3 (diff)
allow linking unbundled versions of some libraries
(libltc, rubberband, taglib, vamp-sdk)
Diffstat (limited to 'libs/rubberband/wscript')
-rw-r--r--libs/rubberband/wscript10
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/rubberband/wscript b/libs/rubberband/wscript
index 7e9ca0250c..e21492ebf4 100644
--- a/libs/rubberband/wscript
+++ b/libs/rubberband/wscript
@@ -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, 'rubberband', uselib_store='RUBBERBAND', atleast_version='1.0', 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')
prefix = 'libs/rubberband/'