aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin/guess.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/bin/guess.hxx')
-rw-r--r--libbuild2/bin/guess.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/bin/guess.hxx b/libbuild2/bin/guess.hxx
index 255932b..27bb5ed 100644
--- a/libbuild2/bin/guess.hxx
+++ b/libbuild2/bin/guess.hxx
@@ -72,12 +72,17 @@ namespace build2
// toolchain-specific manner (usually the output of --version/-version/-v)
// and is not bulletproof.
//
+ // Note that for now the version is extracted only for some linkers. Once
+ // it's done for all of them, we should drop optional.
+ //
struct ld_info
{
process_path path;
string id;
string signature;
string checksum;
+
+ optional<semantic_version> version;
};
ld_info