From 4defdceb773444b843364bd8235c816f8adc8986 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 23 Nov 2018 00:25:12 +0300 Subject: Adapt to inventing path_match_flags --- build2/cc/link-rule.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'build2/cc/link-rule.cxx') 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. } -- cgit v1.1