aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/buildfile')
-rw-r--r--odb/sqlite/buildfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/sqlite/buildfile b/odb/sqlite/buildfile
index 02c3238..293992e 100644
--- a/odb/sqlite/buildfile
+++ b/odb/sqlite/buildfile
@@ -54,10 +54,10 @@ details/build2/{h }{ config-vc } \
# 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{odb-sqlite}: bin.lib.version = @-$version
+if $version.pre_release
+ lib{odb-sqlite}: bin.lib.version = @"-$version.project_id"
else
- lib{odb-sqlite}: bin.lib.version = @-$abi_major.$abi_minor
+ lib{odb-sqlite}: bin.lib.version = @"-$version.major.$version.minor"
cxx.poptions =+ "-I$out_root" "-I$src_root" -DLIBODB_SQLITE_BUILD2
obja{*}: cxx.poptions += -DLIBODB_SQLITE_STATIC_BUILD