aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Min Xu <xuminready@gmail.com>2018-06-11 11:18:22 -0700
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-06-17 15:41:51 +0200
commitc3be7d770cdaed65eb98497b797aea3a6bcc27a6 (patch)
tree7d53244cd7aeb9f6ffecbd4c916c440d9df32ca3
parente69bce3a5602fa0eaf246a99a4b4e1e69f398e73 (diff)
downloadbuildroot-c3be7d770cdaed65eb98497b797aea3a6bcc27a6.tar.gz
buildroot-c3be7d770cdaed65eb98497b797aea3a6bcc27a6.tar.bz2
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 <xuminready@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/shadowsocks-libev/Config.in5
1 files changed, 5 insertions, 0 deletions
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