diff options
author | David Robillard <d@drobilla.net> | 2019-01-19 12:21:22 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-01-19 12:21:22 +0100 |
commit | 96a6283a5fe023c59113242631f337da5f0eb278 (patch) | |
tree | 4982401842f6c2376abceaf101c7ece7dae7abf1 /wscript | |
parent | 8b2c3e5ca003a9cdf22a71f50866f9c25b3036c5 (diff) | |
download | lv2-96a6283a5fe023c59113242631f337da5f0eb278.tar.xz |
Fix backwards compatible lv2.h installation path
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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', |