aboutsummaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
Diffstat (limited to 'odb')
-rw-r--r--odb/pgsql/buildfile6
-rw-r--r--odb/pgsql/version.hxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/odb/pgsql/buildfile b/odb/pgsql/buildfile
index b520621..3875ac9 100644
--- a/odb/pgsql/buildfile
+++ b/odb/pgsql/buildfile
@@ -52,10 +52,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-pgsql}: bin.lib.version = @-$version
+if $version.pre_release
+ lib{odb-pgsql}: bin.lib.version = @"-$version.project_id"
else
- lib{odb-pgsql}: bin.lib.version = @-$abi_major.$abi_minor
+ lib{odb-pgsql}: bin.lib.version = @"-$version.major.$version.minor"
cxx.poptions =+ "-I$out_root" "-I$src_root" -DLIBODB_PGSQL_BUILD2
obja{*}: cxx.poptions += -DLIBODB_PGSQL_STATIC_BUILD
diff --git a/odb/pgsql/version.hxx b/odb/pgsql/version.hxx
index b7860ad..983abb9 100644
--- a/odb/pgsql/version.hxx
+++ b/odb/pgsql/version.hxx
@@ -29,15 +29,15 @@
// Check that we have compatible ODB version.
//
-#if ODB_VERSION != 20411
+#if ODB_VERSION != 20451
# error incompatible odb interface version detected
#endif
// libodb-pgsql version: odb interface version plus the bugfix
// version.
//
-#define LIBODB_PGSQL_VERSION 2049911
-#define LIBODB_PGSQL_VERSION_STR "2.5.0-a11"
+#define LIBODB_PGSQL_VERSION 2049951
+#define LIBODB_PGSQL_VERSION_STR "2.5.0-b.1"
#include <odb/post.hxx>