From fc332341acd2f5da4ba88e86d1bdbb47752c1688 Mon Sep 17 00:00:00 2001 From: Timo Wischer Date: Wed, 28 Mar 2018 16:30:25 +0200 Subject: Install lv2_util.h for use by third-party code --- lv2/lv2plug.in/ns/lv2core/wscript | 1 + wscript | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lv2/lv2plug.in/ns/lv2core/wscript b/lv2/lv2plug.in/ns/lv2core/wscript index 612f40c..c70aa1d 100644 --- a/lv2/lv2plug.in/ns/lv2core/wscript +++ b/lv2/lv2plug.in/ns/lv2core/wscript @@ -50,6 +50,7 @@ def build(bld): # Header bld.install_files('${INCLUDEDIR}', 'lv2.h') bld.install_files('${LV2DIR}/lv2core.lv2', 'lv2.h') + bld.install_files('${LV2DIR}/lv2core.lv2', 'lv2_util.h') # Pkgconfig file autowaf.build_pc(bld, 'LV2CORE', LV2CORE_VERSION, '', []) 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', -- cgit v1.2.1