We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21cfee5 commit 161cb6cCopy full SHA for 161cb6c
src/passes.cc
@@ -1124,7 +1124,7 @@ void check_shlib_undefined(Context<E> &ctx) {
1124
1125
std::function<bool(std::string_view, i64)> can_check;
1126
can_check = [&](std::string_view soname, i64 depth) -> bool {
1127
- if (depth == deps.size())
+ if (depth == deps.size() + 1)
1128
Fatal(ctx) << "--no-allow-shlib-defined: mutually-recursive .so detected: "
1129
<< soname;
1130
0 commit comments