From 1aeeb583911d08dbde43286c6315101a90fceae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Mangano?= Date: Tue, 23 May 2023 12:04:08 +0900 Subject: [PATCH] =?UTF-8?q?Add=20support=20for=20libssh=20=E2=89=A5=200.8.?= =?UTF-8?q?0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ext/libssh_ruby/extconf.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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')