From: Min Xu Date: Mon, 11 Jun 2018 18:18:22 +0000 (-0700) Subject: shadowsocks-libev: add dependency on thread support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c3be7d770cdaed65eb98497b797aea3a6bcc27a6;p=buildroot.git shadowsocks-libev: add dependency on thread support shadowsocks-libev needs thread support, otherwise the configure script fails with: configure: error: Can not find pthreads. This is required. Signed-off-by: Min Xu Signed-off-by: Thomas Petazzoni --- diff --git a/package/shadowsocks-libev/Config.in b/package/shadowsocks-libev/Config.in index d02e5a93ef..56914e8e9d 100644 --- a/package/shadowsocks-libev/Config.in +++ b/package/shadowsocks-libev/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_SHADOWSOCKS_LIBEV bool "shadowsocks-libev" + depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_C_ARES select BR2_PACKAGE_LIBEV @@ -11,3 +12,7 @@ config BR2_PACKAGE_SHADOWSOCKS_LIBEV embedded devices and low-end boxes. https://github.com/shadowsocks/shadowsocks-libev + +comment "shadowsocks-libev needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS