Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/omnibus/health_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def health_check_otool
bad_libs = {}
install_name = nil

yield_shellout_results("find #{project.install_dir} -type f | egrep '\.(dylib|bundle)$' | xargs otool -L") do |line|
yield_shellout_results("find #{project.install_dir} -type f | egrep '\.(dylib|bundle|so)$' | xargs otool -L") do |line|

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we consider sth.so.1.2?

Suggested change
yield_shellout_results("find #{project.install_dir} -type f | egrep '\.(dylib|bundle|so)$' | xargs otool -L") do |line|
yield_shellout_results("find #{project.install_dir} -type f | egrep '\.(dylib|bundle|so|so\.*)$' | xargs otool -L") do |line|

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, in theory there should still be a .so without version, and in the specific case of python modules, they aren't versioned... But let's see what this changes first

I fear that this change will break the macOS healtcheck and that we won't be able to merge it right away

case line
when /^(.+):$/
current_library = Regexp.last_match[1]
Expand Down