Skip to contentSkip to conversation

exempi: add dependency on threads

PATCH New Ilya Averyanov 2 participants 2 messages Jan 5, 2019 – Jan 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 exempi: add dependency on threads

---
 package/exempi/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/exempi/Config.in +3 -2
index b3ec2c513d..0fa4b473bc 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_EXEMPI
 	bool "exempi"
 	depends on !BR2_STATIC_LIBS # dlfcn.h
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_EXPAT
 	select BR2_PACKAGE_ZLIB
 	help
@@ -10,5 +11,5 @@ config BR2_PACKAGE_EXEMPI
 
 	  http://libopenraw.freedesktop.org/wiki/Exempi
 
-comment "exempi needs a toolchain w/ C++, dynamic library"
-	depends on BR2_STATIC_LIBS || BR2_INSTALL_LIBSTDCPP
+comment "exempi needs a toolchain w/ C++, dynamic library, threads
+	depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.19.1