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