From b19fe69cdd0d32dc45f166447170bc5c9c54ac5a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Feb 2020 14:14:45 +0200 Subject: Extract version for lld-link --- libbuild2/bin/guess.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbuild2/bin/guess.hxx') 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 version; }; ld_info -- cgit v1.1