diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-08-19 00:47:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-08-19 00:47:06 +0100 |
| commit | 413cd338edb7182496bee52006c5dd86171bfba0 (patch) | |
| tree | fc7ccf945632ac7441e016d621102cb6ae110625 | |
| parent | fefe92fe62c967b263fb23f0e2af77bb1cdcd226 (diff) | |
Set soname to API version.
| -rw-r--r-- | src/wscript | 1 | ||||
| -rw-r--r-- | wscript | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/wscript b/src/wscript index 51e83be..1d5c3f3 100644 --- a/src/wscript +++ b/src/wscript @@ -4,6 +4,7 @@ def build(bld): else: obj = bld(features='cxx cxxshlib') obj.name = 'libcxml' + obj.vnum = bld.env.API_VERSION obj.target = 'cxml' obj.export_includes = ['.'] obj.uselib = 'LIBXML++ BOOST_FILESYSTEM' @@ -1,5 +1,6 @@ APPNAME = 'libcxml' VERSION = '0.10.0devel' +API_VERSION = '0.0.0' def options(opt): opt.load('compiler_cxx') @@ -14,6 +15,7 @@ def configure(conf): conf.env.TARGET_WINDOWS = conf.options.target_windows conf.env.STATIC = conf.options.static conf.env.DISABLE_TESTS = conf.options.disable_tests + conf.env.API_VERSION = API_VERSION if conf.options.target_windows: boost_lib_suffix = '-mt' |
