diff options
Diffstat (limited to 'build2/cli/rule.cxx')
-rw-r--r-- | build2/cli/rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cli/rule.cxx b/build2/cli/rule.cxx index de14aa1..ece5424 100644 --- a/build2/cli/rule.cxx +++ b/build2/cli/rule.cxx @@ -244,9 +244,9 @@ namespace build2 path rels (relative (s->path ())); scope& rs (t.root_scope ()); - const string& cli (cast<string> (rs["config.cli"])); + const path& cli (cast<path> (rs["config.cli"])); - cstrings args {cli.c_str ()}; + cstrings args {cli.string ().c_str ()}; // See if we need to pass --output-{prefix,suffix} // |