diff options
author | David Robillard <d@drobilla.net> | 2011-05-25 03:23:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-25 03:23:54 +0000 |
commit | b7c887153c1fba3c2f79b85fa51ead17e236473c (patch) | |
tree | 5b2965cda5cc099c5ec70ae799b895e74f31547f /wscript | |
parent | 3311b7d1481855ec3b372c38d141a999b395fdf4 (diff) | |
download | suil-b7c887153c1fba3c2f79b85fa51ead17e236473c.tar.gz suil-b7c887153c1fba3c2f79b85fa51ead17e236473c.tar.bz2 suil-b7c887153c1fba3c2f79b85fa51ead17e236473c.zip |
Suil 0.4.0v0.4.0
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3327 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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') |