diff options
Diffstat (limited to 'build2/file.cxx')
-rw-r--r-- | build2/file.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/file.cxx b/build2/file.cxx index 5ffa59a..b0d202c 100644 --- a/build2/file.cxx +++ b/build2/file.cxx @@ -829,7 +829,7 @@ namespace build2 { dir_path out_root (root.out_path () / p.second); - if (!out_base.sub (out_root)) + if (!out_base.empty () && !out_base.sub (out_root)) continue; // The same logic to src_root as in create_bootstrap_outer(). |