summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/opencv/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/opencv/Config.in b/package/opencv/Config.in
index 146011ad7c..ccde5cb349 100644
--- a/package/opencv/Config.in
+++ b/package/opencv/Config.in
@@ -1,6 +1,7 @@
menuconfig BR2_PACKAGE_OPENCV
bool "opencv"
select BR2_PACKAGE_ZLIB
+ depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
help
@@ -208,5 +209,5 @@ config BR2_PACKAGE_OPENCV_INSTALL_DATA
endif # BR2_PACKAGE_OPENCV
-comment "opencv needs a toolchain w/ C++, wchar"
- depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
+comment "opencv needs a toolchain w/ C++, threads, wchar"
+ depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
OpenPOWER on IntegriCloud