package/spdlog: need threads
authorAsaf Kahlon <asafka7@gmail.com>
Fri, 4 Oct 2019 08:39:13 +0000 (11:39 +0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 5 Oct 2019 14:21:03 +0000 (16:21 +0200)
Fixes:
 - http://autobuild.buildroot.net/results/f839e70e96a0c7d67034f604565b32ca354da7d0/

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
[Arnout: order depends alphabetically, mention threads in comment]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/spdlog/Config.in

index 4b721774eba3b647fd3e8371b3af4dd4bc746c9f..4aee1f7dd1206a123fb26739ddee3308becc5050 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_SPDLOG
        bool "spdlog"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_WCHAR # fmt
        select BR2_PACKAGE_FMT
        help
@@ -8,5 +9,6 @@ config BR2_PACKAGE_SPDLOG
 
          https://github.com/gabime/spdlog
 
-comment "spdlog needs a toolchain w/ C++, wchar"
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+comment "spdlog needs a toolchain w/ C++, threads, wchar"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
+               || !BR2_USE_WCHAR