aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-19 12:21:22 +0100
committerDavid Robillard <d@drobilla.net>2019-01-19 12:21:22 +0100
commit96a6283a5fe023c59113242631f337da5f0eb278 (patch)
tree4982401842f6c2376abceaf101c7ece7dae7abf1
parent8b2c3e5ca003a9cdf22a71f50866f9c25b3036c5 (diff)
downloadlv2-96a6283a5fe023c59113242631f337da5f0eb278.tar.xz
Fix backwards compatible lv2.h installation path
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
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',