summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-09-10 17:27:01 +0000
committerDavid Robillard <d@drobilla.net>2012-09-10 17:27:01 +0000
commit4a97550203d65df6bca38616319e2be174c817a0 (patch)
tree2a82e7fc6cdcc1e742dad4fb7885801b76f57e6c /wscript
parent2cfbf6dadd3cfbbbddfa3b71954f2021b145cfdd (diff)
downloadsord-4a97550203d65df6bca38616319e2be174c817a0.tar.gz
sord-4a97550203d65df6bca38616319e2be174c817a0.tar.bz2
sord-4a97550203d65df6bca38616319e2be174c817a0.zip
Support parallel installable debug libraries.
git-svn-id: http://svn.drobilla.net/sord/trunk@264 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 2 insertions, 6 deletions
diff --git a/wscript b/wscript
index c93c443..98b59ab 100644
--- a/wscript
+++ b/wscript
@@ -76,13 +76,9 @@ def configure(conf):
autowaf.define(conf, 'SORD_DEBUG_WRITE', 1)
autowaf.define(conf, 'SORD_VERSION', SORD_VERSION)
+ autowaf.set_lib_env(conf, 'sord', SORD_VERSION)
conf.write_config_header('sord_config.h', remove=False)
- # Set up env for building against this serd in case we are a child
- conf.env.INCLUDES_SORD = ['${INCLUDEDIR}/sord-%s' % SORD_MAJOR_VERSION]
- conf.env.LIBPATH_SORD = [conf.env.LIBDIR]
- conf.env.LIB_SORD = ['sord-%s' % SORD_MAJOR_VERSION];
-
autowaf.display_msg(conf, 'Utilities', bool(conf.env.BUILD_UTILS))
autowaf.display_msg(conf, 'Unit tests', bool(conf.env.BUILD_TESTS))
autowaf.display_msg(conf, 'Debug dumping', dump)
@@ -130,7 +126,7 @@ def build(bld):
includes = ['.', './src'],
export_includes = ['.'],
name = 'libsord_static',
- target = 'sord-%s' % SORD_MAJOR_VERSION,
+ target = 'sord-%s' % lib_suff,
vnum = SORD_VERSION,
install_path = '${LIBDIR}',
libs = libs,