Subject: Bug#1320: >=libssh-0.8.0 does not provide libssh_threads.so anymore

From: Bernard Cafarelli <[email-masked]>
Date: Tue, 14 Aug 2018 17:19:45 +0200

Package: x2goclient
Version: 4.1.2.1

With recently released libssh 0.8.0 (and bugfix 0.8.1), everything is 
now provided in libbsh.so only. The separate libssh_theads.so library 
was dropped.

This breaks x2goclient linking, as the project file explicitly sets:
LIBS += -lssh -lssh_threads

A proper fix would be to check libssh version and only append 
"-lssh_threads" for < 0.8.

Currently in Gentoo libssh package added a compatibility symlink to 
workaround the failures in impacted consumers.

Downstream Gentoo bug: https://bugs.gentoo.org/663362

-- 
Bernard Cafarelli (Voyageur)
Gentoo developer