aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/common.txx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/common.txx')
-rw-r--r--libbuild2/cc/common.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/common.txx b/libbuild2/cc/common.txx
index f55072c..b21bbb1 100644
--- a/libbuild2/cc/common.txx
+++ b/libbuild2/cc/common.txx
@@ -21,7 +21,7 @@ namespace build2
{
auto p (ctx.targets.insert_locked (T::static_type,
move (dir),
- path_cast<dir_path> (out.effect),
+ dir_path (out.effect_string ()),
name,
move (ext),
target_decl::implied,