Skip to content

Commit ed3e6db

Browse files
committed
Require .so files to actually end in .so, not just so
1 parent 652bb67 commit ed3e6db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auditor/dynamic_linkage.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function valid_library_path(f::AbstractString, p::Platform)
257257
elseif Sys.isapple(p)
258258
return endswith(f, ".dylib")
259259
else
260-
return occursin(r".*.so(\.[\d]+)*", f)
260+
return occursin(r".+\.so(\.[\d]+)*", f)
261261
end
262262
end
263263

0 commit comments

Comments
 (0)