diff options
Diffstat (limited to 'build2/cc/common.cxx')
-rw-r--r-- | build2/cc/common.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/cc/common.cxx b/build2/cc/common.cxx index 0778acf..3c4994e 100644 --- a/build2/cc/common.cxx +++ b/build2/cc/common.cxx @@ -224,7 +224,10 @@ namespace build2 { for (const prerequisite_target& pt: l.prerequisite_targets[a]) { - if (pt == nullptr) + // Note: adhoc prerequisites are not part of the library meta- + // information protocol. + // + if (pt == nullptr || pt.adhoc) continue; bool la; |