diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-12-05 14:56:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-12-05 14:56:47 +0200 |
commit | a7085d313a9cfdca578a4fc69dccb20090cc5769 (patch) | |
tree | 8050e4df4113c7a5907e39aa29c367910cf170ee /libbuild2/cc/common.hxx | |
parent | 64ba9adcac61fd5631ac92e049bb4d6ef283b30f (diff) |
Skip common .pc file for binless if found but rejected binful (GH issues #235)
Diffstat (limited to 'libbuild2/cc/common.hxx')
-rw-r--r-- | libbuild2/cc/common.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libbuild2/cc/common.hxx b/libbuild2/cc/common.hxx index 4ad0e22..2a78fe0 100644 --- a/libbuild2/cc/common.hxx +++ b/libbuild2/cc/common.hxx @@ -440,13 +440,16 @@ namespace build2 // Alternative search logic for VC (msvc.cxx). // - bin::liba* + // The second half is false if we should poison the binless search via + // the common .pc file. + // + pair<bin::liba*, bool> msvc_search_static (const process_path&, const dir_path&, const prerequisite_key&, bool existing) const; - bin::libs* + pair<bin::libs*, bool> msvc_search_shared (const process_path&, const dir_path&, const prerequisite_key&, |