diff options
author | David Robillard <d@drobilla.net> | 2012-08-02 18:37:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-02 18:37:57 +0000 |
commit | bd1ba4a37fcd3f74935099127c0ed6c234ab7e5a (patch) | |
tree | 3737885f169ed4575deafeb86b89b09139b521df /ext.wscript | |
parent | 5defc8ead1e8d996005b94741ecaf0fcec4e1482 (diff) | |
download | lv2-bd1ba4a37fcd3f74935099127c0ed6c234ab7e5a.tar.xz |
Clean up wscript files and use a simpler method of chopping 'lib' prefix.
Diffstat (limited to 'ext.wscript')
-rw-r--r-- | ext.wscript | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ext.wscript b/ext.wscript index e1d71c7..197f82e 100644 --- a/ext.wscript +++ b/ext.wscript @@ -39,11 +39,11 @@ def build(bld): # Copy headers to URI-style include paths in build directory for i in bld.path.ant_glob('*.h'): - obj = bld(rule = link, - name = 'link', - cwd = 'build/lv2/%s' % path, - source = '%s' % i, - target = 'lv2/%s/%s' % (path, i)) + bld(rule = link, + name = 'link', + cwd = 'build/lv2/%s' % path, + source = '%s' % i, + target = 'lv2/%s/%s' % (path, i)) if bld.env['BUILD_TESTS'] and bld.path.find_node('%s-test.c' % name): test_lib = [] @@ -53,12 +53,12 @@ def build(bld): test_cflags += ['-fprofile-arcs', '-ftest-coverage'] # Unit test program - obj = bld(features = 'c cprogram', - source = '%s-test.c' % name, - lib = test_lib, - target = '%s-test' % name, - install_path = '', - cflags = test_cflags) + bld(features = 'c cprogram', + source = '%s-test.c' % name, + lib = test_lib, + target = '%s-test' % name, + install_path = '', + cflags = test_cflags) # Install bundle bld.install_files(bundle_dir, |