exempi: add dependency on threads
authorIlya Averyanov <averyanovin@gmail.com>
Sat, 5 Jan 2019 22:47:27 +0000 (01:47 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 6 Jan 2019 20:22:04 +0000 (21:22 +0100)
Fixes:
http://autobuild.buildroot.net/results/96b/96bf4f0ddd88233b9604056d83bb3d7ea97d2046/
http://autobuild.buildroot.net/results/d92/d92c8eb3004165033c22cc98b153cf547a352fd7/

Signed-off-by: Ilya Averyanov <averyanovin@gmail.com>
[Peter: add autobuilder references]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/exempi/Config.in

index b3ec2c513ddec84cef5f112e29c0d3164b6cbd6d..0fa4b473bc9efcd9173767e6b181d747e231bc99 100644 (file)
@@ -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