diff options
Diffstat (limited to 'libbuild2/dist')
-rw-r--r-- | libbuild2/dist/operation.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/dist/operation.cxx b/libbuild2/dist/operation.cxx index 07f3b42..ac76a62 100644 --- a/libbuild2/dist/operation.cxx +++ b/libbuild2/dist/operation.cxx @@ -597,7 +597,7 @@ namespace build2 (rs->out_path () != t.dir && rs->src_path () != t.dir)) fail << "dist meta-operation target must be project root directory"; - if (rs->out_path () == rs->src_path ()) + if (rs->out_eq_src ()) fail << "in-tree distribution of target " << t << info << "distribution requires out-of-tree build"; |