libssh: fix build with musl libc
authorBaruch Siach <baruch@tkos.co.il>
Fri, 14 Sep 2018 13:59:21 +0000 (16:59 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 14 Sep 2018 21:22:43 +0000 (23:22 +0200)
commit81e33bc77ce659cb0f42e801a449bfdfa6af491a
tree7cadb29987b94bf48f918168c77426c9ceb6f53d
parent576a353277f10a61ef374a447c7e4ba537aa2766
libssh: fix build with musl libc

libssh uses GNU extensions to the glob() API. Update the cmake test to
take that into account so that glob() is not used with musl libc.

Fixes:
http://autobuild.buildroot.net/results/0c2/0c2d17316fd6bd2bf1359e23a2a1273fa349cf2a/
http://autobuild.buildroot.net/results/936/936abac5362b33980fd1efe8b830409ee2f86f6b/
http://autobuild.buildroot.net/results/51b/51b1b136ab4209ee443c1b450a932341b2ff81b7/

Cc: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libssh/0001-cmake-check-for-GNU-compatible-glob-support.patch [new file with mode: 0644]