From 96a6283a5fe023c59113242631f337da5f0eb278 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 19 Jan 2019 12:21:22 +0100 Subject: Fix backwards compatible lv2.h installation path --- wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 4ef53fe..ef3628d 100644 --- a/wscript +++ b/wscript @@ -250,11 +250,11 @@ def build(bld): specs = (bld.path.ant_glob('lv2/*', dir=True)) # Copy lv2.h to include directory for backwards compatibility - old_lv2_h_path = os.path.join(bld.env.INCLUDEDIR, 'lv2/lv2.h') + old_lv2_h_path = os.path.join(bld.env.INCLUDEDIR, 'lv2.h') if bld.env.COPY_HEADERS: - bld.install_files(old_lv2_h_path, 'lv2/core/lv2.h') + bld.install_files(os.path.dirname(old_lv2_h_path), 'lv2/core/lv2.h') else: - bld.symlink_as(old_lv2_h_path, 'core/lv2.h') + bld.symlink_as(old_lv2_h_path, 'lv2/core/lv2.h') # LV2 pkgconfig file bld(features = 'subst', -- cgit v1.2.1