From 6718a7258c45cd45b5cd1a2e08207a4b8502f2d3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 8 Aug 2012 19:21:03 +0000 Subject: Consistency. git-svn-id: http://svn.drobilla.net/serd/trunk@370 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- wscript | 22 +++++++++++----------- 1 file 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) -- cgit v1.2.1