diff options
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r-- | build2/cc/compile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index 79d40c3..bfc79c9 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -2052,7 +2052,7 @@ namespace build2 if (!pfx_map->empty ()) { dir_path d (f.directory ()); - auto i (pfx_map->find_sub (d)); + auto i (pfx_map->find_sup (d)); if (i != pfx_map->end ()) { @@ -2097,7 +2097,7 @@ namespace build2 { // Find the most qualified prefix of which we are a sub-path. // - auto i (so_map.find_sub (f)); + auto i (so_map.find_sup (f)); if (i != so_map.end ()) { // Ok, there is an out tree for this headers. Remap to a path |