aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorTimo Wischer <twischer@de.adit-jv.com>2018-03-28 16:30:25 +0200
committerDavid Robillard <d@drobilla.net>2018-04-21 14:21:18 +0200
commitfc332341acd2f5da4ba88e86d1bdbb47752c1688 (patch)
tree52808d6ce92cdcbe9876020c321043b19cda43fc /wscript
parent239d19c14be76b781377aa53d1f6c411c1e0c3bb (diff)
downloadlv2-fc332341acd2f5da4ba88e86d1bdbb47752c1688.tar.xz
Install lv2_util.h for use by third-party code
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files changed, 6 insertions, 4 deletions
diff --git a/wscript b/wscript
index 1e3c8af..0eb2e04 100644
--- a/wscript
+++ b/wscript
@@ -257,10 +257,12 @@ def build(bld):
bld.path.ant_glob('lv2/lv2plug.in/ns/extensions/*', dir=True))
# Copy lv2.h to URI-style include path in build directory
- lv2_h_path = 'lv2/lv2plug.in/ns/lv2core/lv2.h'
- bld(rule = link,
- source = bld.path.find_node(lv2_h_path),
- target = bld.path.get_bld().make_node(lv2_h_path))
+ lv2_h_paths = ['lv2/lv2plug.in/ns/lv2core/lv2.h',
+ 'lv2/lv2plug.in/ns/lv2core/lv2_util.h']
+ for path in lv2_h_paths:
+ bld(rule = link,
+ source = bld.path.find_node(path),
+ target = bld.path.get_bld().make_node(path))
# LV2 pkgconfig file
bld(features = 'subst',