diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-21 12:11:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-21 12:11:48 +0200 |
commit | d64ae97f6865bc25d496485622530e2a090c2eb4 (patch) | |
tree | eef35c80417a9a08c7713368261aa6d1e8632b5d /libbuild2/context.cxx | |
parent | d7b5f03a761714f6ea6c4b1891e8a1f3824d4979 (diff) |
Implement dynamic loading of build system modules
Diffstat (limited to 'libbuild2/context.cxx')
-rw-r--r-- | libbuild2/context.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx index e7f9751..2f5e2af 100644 --- a/libbuild2/context.cxx +++ b/libbuild2/context.cxx @@ -461,10 +461,7 @@ namespace build2 // Build system interface version. In particular, it is embedded into // build system modules as load_suffix. // - set ("build.version.interface", - v.pre_release () - ? v.string_project_id () - : to_string (v.major ()) + '.' + to_string (v.minor ())); + set ("build.version.interface", build_version_interface); // Allow detection (for example, in tests) whether this is a staged // toolchain. |