aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/link-rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/link-rule.cxx')
-rw-r--r--build2/cc/link-rule.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/build2/cc/link-rule.cxx b/build2/cc/link-rule.cxx
index ca51700..c24655a 100644
--- a/build2/cc/link-rule.cxx
+++ b/build2/cc/link-rule.cxx
@@ -2372,10 +2372,9 @@ namespace build2
return true;
};
- path_search (p,
- rm,
- dir_path () /* start */,
- false /* follow_symlinks */);
+ // Doesn't follow symlinks.
+ //
+ path_search (p, rm, dir_path () /* start */, path_match_flags::none);
}
catch (const system_error&) {} // Ignore errors.
}