aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-16 23:16:37 +0000
committerDavid Robillard <d@drobilla.net>2012-02-16 23:16:37 +0000
commit495f83c7f13349930df3526789d09c75c1312bd4 (patch)
tree5187d1b195dfd9e23caaafad30ab272882468720 /plugins/eg-sampler.lv2/wscript
parent75d524c764a6f91aa9662040a2c218e8d2802438 (diff)
downloadlv2-495f83c7f13349930df3526789d09c75c1312bd4.tar.xz
Implement real-time safe sample loading.
Diffstat (limited to 'plugins/eg-sampler.lv2/wscript')
-rw-r--r--plugins/eg-sampler.lv2/wscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/eg-sampler.lv2/wscript b/plugins/eg-sampler.lv2/wscript
index cbff316..3cb51dc 100644
--- a/plugins/eg-sampler.lv2/wscript
+++ b/plugins/eg-sampler.lv2/wscript
@@ -33,6 +33,11 @@ def configure(conf):
autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-message',
uselib_store='LV2_MESSAGE')
+ conf.check(function_name='mlock',
+ header_name='sys/mman.h',
+ define_name='HAVE_MLOCK',
+ mandatory=False)
+
autowaf.check_pkg(conf, 'sndfile', uselib_store='SNDFILE',
atleast_version='1.0.0', mandatory=True)
autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2',
@@ -81,7 +86,7 @@ def build(bld):
# Build plugin library
obj = bld(features = 'c cshlib',
env = penv,
- source = 'sampler.c',
+ source = ['sampler.c', 'zix/ring.c'],
name = 'sampler',
target = '%s/sampler' % bundle,
install_path = '${LV2DIR}/%s' % bundle,