aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/utility.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/utility.hxx')
-rw-r--r--build2/cc/utility.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/build2/cc/utility.hxx b/build2/cc/utility.hxx
index 82d9f71..bc6c3fb 100644
--- a/build2/cc/utility.hxx
+++ b/build2/cc/utility.hxx
@@ -60,8 +60,11 @@ namespace build2
// Given the link order return the library member to link. That is, liba{}
// or libs{} for lib{} and libue{}, libua{} or libus{} for libu*{}.
//
- const target&
- link_member (const bin::libx&, action, linfo);
+ // If existing is true, then only return the member target if it exists
+ // (currently only used and supported for utility libraries).
+ //
+ const target*
+ link_member (const bin::libx&, action, linfo, bool existing = false);
}
}