diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-30 16:32:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-30 16:32:41 +0200 |
commit | d44cf613a9ebb26ab057d35796899981cbed71f1 (patch) | |
tree | 9536bd25564e55ca076d5cc9cbd0f079c80653d7 /butl/buildfile | |
parent | ab616aa06552ff0ded7c600d7fde84e60b9504b3 (diff) |
Build infrastructure update
Diffstat (limited to 'butl/buildfile')
-rw-r--r-- | butl/buildfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/butl/buildfile b/butl/buildfile index a2ba945..4ac0672 100644 --- a/butl/buildfile +++ b/butl/buildfile @@ -35,6 +35,14 @@ lib{butl}: file{sha256c.c} # lib{butl}: file{strptime.c timelocal.h timelocal.c} +# For pre-releases use the complete version to make sure they cannot be used +# in place of another pre-release or the final version. +# +if $abi_prerelease + lib{butl}: bin.lib.version = @-$version +else + lib{butl}: bin.lib.version = @-$abi_major.$abi_minor + cxx.poptions =+ -I$src_root obja{*}: cxx.poptions += -DLIBBUTL_STATIC_BUILD objs{*}: cxx.poptions += -DLIBBUTL_SHARED_BUILD |