diff options
-rw-r--r-- | build2/cc/link-rule.cxx | 7 | ||||
-rw-r--r-- | build2/test/script/runner.cxx | 4 |
2 files changed, 6 insertions, 5 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. } diff --git a/build2/test/script/runner.cxx b/build2/test/script/runner.cxx index 2e37f3a..2f82fc7 100644 --- a/build2/test/script/runner.cxx +++ b/build2/test/script/runner.cxx @@ -860,10 +860,12 @@ namespace build2 // try { + // Doesn't follow symlinks. + // path_search (p, rm, dir_path () /* start */, - false /* follow_symlinks */); + path_match_flags::none); } catch (const system_error& e) { |