Skip to content

Commit

Permalink
Tell fixup-libgfortran.sh to ignore missing libraries (JuliaLang#30698
Browse files Browse the repository at this point in the history
)

This prevents us from adding the SONAME `"not"` to our list of possible
libgfortran SONAMES (because it thinks the string `"not found"` might be
a valid SONAME).
  • Loading branch information
staticfloat authored Jan 12, 2019
1 parent 7772486 commit 5d3f6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/fixup-libgfortran.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ find_shlib()
lib_path="$1"
if [ -f "$lib_path" ]; then
if [ "$UNAME" = "Linux" ]; then
ldd "$lib_path" | grep $2 | cut -d' ' -f3 | xargs
ldd "$lib_path" | grep $2 | grep -v "not found" | cut -d' ' -f3 | xargs
else # $UNAME is "Darwin", we only have two options, see above
otool -L "$lib_path" | grep $2 | cut -d' ' -f1 | xargs
fi
Expand Down

0 comments on commit 5d3f6a8

Please sign in to comment.