Skip to content

Commit 161cb6c

Browse files
committed
Fix CI
1 parent 21cfee5 commit 161cb6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/passes.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ void check_shlib_undefined(Context<E> &ctx) {
11241124

11251125
std::function<bool(std::string_view, i64)> can_check;
11261126
can_check = [&](std::string_view soname, i64 depth) -> bool {
1127-
if (depth == deps.size())
1127+
if (depth == deps.size() + 1)
11281128
Fatal(ctx) << "--no-allow-shlib-defined: mutually-recursive .so detected: "
11291129
<< soname;
11301130

0 commit comments

Comments
 (0)