diff options
author | David Robillard <d@drobilla.net> | 2012-08-06 20:43:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-06 20:43:22 +0000 |
commit | 414c4d57515e37358c31195b676f382ac9ab7e34 (patch) | |
tree | e4ad0e318c424af10afdb9082db1bfc24aaa79db /wscript | |
parent | ce43ad8379fabb6125b6d5bedb1998b883844a6b (diff) | |
download | lv2-414c4d57515e37358c31195b676f382ac9ab7e34.tar.xz |
Copy headers when COPY_HEADERS is set and link otherwise (not the other way around).
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -271,11 +271,11 @@ def build_ext(bld, path): headers = bld.path.ant_glob(path + '/*.h') if headers: if bld.env['COPY_HEADERS']: + bld.install_files(include_dir, headers) + else: bld.symlink_as(include_dir, os.path.relpath(bundle_dir, os.path.dirname(include_dir))) - else: - bld.install_files(include_dir, headers) def build(bld): exts = (bld.path.ant_glob('lv2/lv2plug.in/ns/ext/*', dir=True) + |