aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-06 20:43:22 +0000
committerDavid Robillard <d@drobilla.net>2012-08-06 20:43:22 +0000
commit414c4d57515e37358c31195b676f382ac9ab7e34 (patch)
treee4ad0e318c424af10afdb9082db1bfc24aaa79db /wscript
parentce43ad8379fabb6125b6d5bedb1998b883844a6b (diff)
downloadlv2-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--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index fdc9dc8..bb5a34d 100644
--- a/wscript
+++ b/wscript
@@ -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) +