Skip to content

Commit 7bf2956

Browse files
fix freebsd testing
1 parent aa592e2 commit 7bf2956

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/stdlib_dependencies.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ function get_deps_readelf(lib_path::String)
8383
libs = split(readchomp(`readelf -d $(lib_path)`), "\n")
8484

8585
# Only keep `(NEEDED)` lines
86-
libs = filter(l -> occursin("(NEEDED)", l), libs)
86+
needed_str = Sys.isfreebsd() ? "NEEDED" : "(NEEDED)"
87+
libs = filter(l -> occursin(needed_str, l), libs)
8788

8889
# Grab the SONAME from "Shared library: [$SONAME]"
8990
libs = map(libs) do lib

0 commit comments

Comments
 (0)