diff --git a/ext/libssh_ruby/extconf.rb b/ext/libssh_ruby/extconf.rb index 281d788..5c4c6be 100644 --- a/ext/libssh_ruby/extconf.rb +++ b/ext/libssh_ruby/extconf.rb @@ -12,9 +12,9 @@ unless have_library('ssh') abort 'Cannot find libssh' end -unless have_library('ssh_threads') - abort 'Cannot find libssh_threads' -end + +# libssh 0.8 has merged libssh_threads into libssh, so it’s not required. +have_library('ssh_threads') have_const('SSH_KEYTYPE_ED25519', 'libssh/libssh.h')