diff options
author | David Robillard <d@drobilla.net> | 2011-04-27 23:39:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-27 23:39:21 +0000 |
commit | 15e2ea280f63d1cfac38918dd00a44fdab6d8989 (patch) | |
tree | afb4fcb5918d4d11705ab31dc802147f65b95def | |
parent | f3b65ffd392579728490916ba0d0ad9cbcdcbf66 (diff) | |
download | sord-15e2ea280f63d1cfac38918dd00a44fdab6d8989.tar.gz sord-15e2ea280f63d1cfac38918dd00a44fdab6d8989.tar.bz2 sord-15e2ea280f63d1cfac38918dd00a44fdab6d8989.zip |
Fix sordi compilation and installation.
git-svn-id: http://svn.drobilla.net/sord/trunk@93 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rw-r--r-- | wscript | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -121,16 +121,26 @@ def build(bld): cflags = test_cflags) autowaf.use_lib(bld, obj, 'GLIB SERD') + # Static command line utility (for testing) + if bld.env['BUILD_UTILS']: + obj = bld(features = 'c cprogram', + source = 'src/sordi.c', + includes = ['.', './src'], + use = 'libsord_static', + linkflags = '-lgcov', + target = 'sordi_static', + install_path = '', + cflags = test_cflags) + # Command line utility if bld.env['BUILD_UTILS']: obj = bld(features = 'c cprogram', source = 'src/sordi.c', includes = ['.', './src'], - use = 'libsord_static', + use = 'libsord', linkflags = '-lgcov', - target = 'sordi_static', - install_path = '', - cflags = test_cflags) + target = 'sordi', + install_path = '${BINDIR}') # Documentation autowaf.build_dox(bld, 'SORD', SORD_VERSION, top, out) |