aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bash/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/bash/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/bash/buildfile')
-rw-r--r--libbuild2/bash/buildfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/bash/buildfile b/libbuild2/bash/buildfile
index ed95998..e30f379 100644
--- a/libbuild2/bash/buildfile
+++ b/libbuild2/bash/buildfile
@@ -50,8 +50,10 @@ libs{build2-bash}: cxx.export.poptions += -DLIBBUILD2_BASH_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" \