aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/version/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-20 09:14:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-20 09:14:19 +0200
commitd7b5f03a761714f6ea6c4b1891e8a1f3824d4979 (patch)
tree63e7504c41cf5b6791cbd7c619744e6137590dc8 /libbuild2/version/buildfile
parent7d2d419820912e54cda370c97829af573d9f62ae (diff)
Add build.version.interface
This build system interface version should be embedded into build system modules as load_suffix.
Diffstat (limited to 'libbuild2/version/buildfile')
-rw-r--r--libbuild2/version/buildfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/version/buildfile b/libbuild2/version/buildfile
index 7477815..96f55ad 100644
--- a/libbuild2/version/buildfile
+++ b/libbuild2/version/buildfile
@@ -51,8 +51,10 @@ libs{build2-version}: cxx.export.poptions += -DLIBBUILD2_VERSION_SHARED
# in place of another pre-release or the final version. See the version module
# for details on the version.* variable values.
#
-# And seeing that this is a build system module, we also embed the same
-# version as the build system core version.
+# And because this is a build system module, we also embed the same value as
+# the interface version (note that we cannot use build.version.interface for
+# bundled modules because we could be built with a different version of the
+# build system).
#
ver = ($version.pre_release \
? "$version.project_id" \