rake-compiler/rake-compiler-dock

`extconf.rb` check for ruby functions fail due to unresolved symbols in `libruby-static.a`

larskanis opened this issue · 1 comments

It fails like here: https://github.com/rake-compiler/rake-compiler-dock/runs/4996038938?check_suite_focus=true#step:7:123

Adding the following lines to extconf.rb works around this issue:

have_library('pthread')
have_library('rt')
have_library('dl')
have_library('crypt')

This issue was noticed here:
https://github.com/kwilczynski/ruby-magic/blob/f30c53f74d4bfff7510651f4c4a533033ad34efc/ext/magic/extconf.rb#L396-L401

Fixed per #67