From b7c887153c1fba3c2f79b85fa51ead17e236473c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 25 May 2011 03:23:54 +0000 Subject: Suil 0.4.0 git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3327 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index ff1e271..f123128 100644 --- a/wscript +++ b/wscript @@ -7,7 +7,7 @@ from waflib.extras import autowaf as autowaf import waflib.Logs as Logs, waflib.Options as Options # Version of this package (even if built as a child) -SUIL_VERSION = '0.2.0' +SUIL_VERSION = '0.4.0' SUIL_MAJOR_VERSION = '0' # Library version (UNIX style major, minor, micro) @@ -50,7 +50,8 @@ def configure(conf): atleast_version='4.0.0', mandatory=False) autowaf.define(conf, 'SUIL_VERSION', SUIL_VERSION) - autowaf.define(conf, 'SUIL_MODULE_DIR', conf.env['LIBDIR'] + '/suil') + autowaf.define(conf, 'SUIL_MODULE_DIR', + conf.env['LIBDIR'] + '/suil-' + SUIL_MAJOR_VERSION) autowaf.define(conf, 'SUIL_DIR_SEP', '/') autowaf.define(conf, 'SUIL_MODULE_EXT', '.so') conf.write_config_header('suil-config.h', remove=False) @@ -75,6 +76,8 @@ def build(bld): cflags += [ '-fvisibility=hidden' ] linkflags += [ '-ldl' ] + module_dir = '${LIBDIR}/suil-' + SUIL_MAJOR_VERSION + # Library obj = bld(features = 'c cshlib', export_includes = ['.'], @@ -92,7 +95,7 @@ def build(bld): source = 'src/gtk2_in_qt4.cpp', target = 'suil_gtk2_in_qt4', includes = ['.'], - install_path = '${LIBDIR}/suil', + install_path = module_dir, cflags = cflags) autowaf.use_lib(bld, obj, 'GTK2 QT4') @@ -100,7 +103,7 @@ def build(bld): source = 'src/qt4_in_gtk2.cpp', target = 'suil_qt4_in_gtk2', includes = ['.'], - install_path = '${LIBDIR}/suil', + install_path = module_dir, cflags = cflags) autowaf.use_lib(bld, obj, 'GTK2 QT4') -- cgit v1.2.1