aboutsummaryrefslogtreecommitdiffstats
path: root/ext.wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-02 18:37:57 +0000
committerDavid Robillard <d@drobilla.net>2012-08-02 18:37:57 +0000
commitbd1ba4a37fcd3f74935099127c0ed6c234ab7e5a (patch)
tree3737885f169ed4575deafeb86b89b09139b521df /ext.wscript
parent5defc8ead1e8d996005b94741ecaf0fcec4e1482 (diff)
downloadlv2-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.wscript22
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,