From 413cd338edb7182496bee52006c5dd86171bfba0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 19 Aug 2014 00:47:06 +0100 Subject: Set soname to API version. --- src/wscript | 1 + wscript | 2 ++ 2 files changed, 3 insertions(+) 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' diff --git a/wscript b/wscript index c5a3584..0892e88 100644 --- a/wscript +++ b/wscript @@ -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' -- cgit v1.2.3