aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript13
1 files changed, 9 insertions, 4 deletions
diff --git a/wscript b/wscript
index 833a01c..1604bf3 100644
--- a/wscript
+++ b/wscript
@@ -282,10 +282,6 @@ def build(bld):
source = bld.path.find_node(lv2_h_path),
target = bld.path.get_bld().make_node(lv2_h_path))
- # Build extensions
- for i in exts:
- build_ext(bld, i.srcpath())
-
# LV2 pkgconfig file
bld(features = 'subst',
source = 'lv2.pc.in',
@@ -295,6 +291,15 @@ def build(bld):
INCLUDEDIR = bld.env['INCLUDEDIR'],
VERSION = VERSION)
+ # Build extensions
+ for i in exts:
+ build_ext(bld, i.srcpath())
+
+ # Build plugins
+ if bld.env['BUILD_PLUGINS']:
+ for i in bld.path.ant_glob('plugins/*', dir=True):
+ bld.recurse(i.srcpath())
+
if bld.env['DOCS']:
# Build Doxygen documentation (and tags file)
autowaf.build_dox(bld, 'LV2', VERSION, top, out)