aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-08 19:21:03 +0000
committerDavid Robillard <d@drobilla.net>2012-08-08 19:21:03 +0000
commit6718a7258c45cd45b5cd1a2e08207a4b8502f2d3 (patch)
tree2441828b74e1ea271efb766b4333b2a6d21d1ae7
parent0bb473bb8cf13e9f1945c74e30138f32cfdf803a (diff)
downloadserd-6718a7258c45cd45b5cd1a2e08207a4b8502f2d3.tar.gz
serd-6718a7258c45cd45b5cd1a2e08207a4b8502f2d3.tar.bz2
serd-6718a7258c45cd45b5cd1a2e08207a4b8502f2d3.zip
Consistency.
git-svn-id: http://svn.drobilla.net/serd/trunk@370 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r--wscript22
1 files changed, 11 insertions, 11 deletions
diff --git a/wscript b/wscript
index 81458e3a..d03c80d7 100644
--- a/wscript
+++ b/wscript
@@ -187,7 +187,7 @@ def build(bld):
defines = defines + ['SERD_INTERNAL'],
cflags = test_cflags)
- # Unit test serdi
+ # Static profiled serdi for tests
bld(features = 'c cprogram',
source = 'src/serdi.c',
includes = ['.', './src'],
@@ -211,18 +211,18 @@ def build(bld):
# Utilities
if bld.env.BUILD_UTILS:
- prog = bld(features = 'c cprogram',
- source = 'src/serdi.c',
- target = 'serdi',
- includes = ['.', './src'],
- use = 'libserd',
- lib = libs,
- install_path = '${BINDIR}')
+ obj = bld(features = 'c cprogram',
+ source = 'src/serdi.c',
+ target = 'serdi',
+ includes = ['.', './src'],
+ use = 'libserd',
+ lib = libs,
+ install_path = '${BINDIR}')
if not bld.env.BUILD_SHARED or bld.env.STATIC_PROGS:
- prog.use = 'libserd_static'
+ obj.use = 'libserd_static'
if bld.env.STATIC_PROGS:
- prog.env.SHLIB_MARKER = prog.env.STLIB_MARKER
- prog.linkflags = ['-static']
+ obj.env.SHLIB_MARKER = obj.env.STLIB_MARKER
+ obj.linkflags = ['-static']
# Documentation
autowaf.build_dox(bld, 'SERD', SERD_VERSION, top, out)