diff options
Diffstat (limited to 'libbuild2/functions-name.cxx')
-rw-r--r-- | libbuild2/functions-name.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/functions-name.cxx b/libbuild2/functions-name.cxx index 9b1a80b..8b61c81 100644 --- a/libbuild2/functions-name.cxx +++ b/libbuild2/functions-name.cxx @@ -32,7 +32,9 @@ namespace build2 return make_pair (move (n), move (e)); } - static const target& + // Note: this helper mey be used by other functions that operate on targets. + // + LIBBUILD2_SYMEXPORT const target& to_target (const scope& s, name&& n, name&& o) { if (const target* r = search_existing (n, s, o.dir)) |