wampcc: needs C++
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 7 Jul 2018 15:35:46 +0000 (17:35 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 7 Jul 2018 21:24:54 +0000 (23:24 +0200)
Fixes:
 - http://autobuild.buildroot.net/results/b47daa2f7df44109b839b07d282d4f5b5123533c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/wampcc/Config.in

index d9d82df3efe6259791180f6aaa8d45abb0e73671..9cf7d99dfe2c7faf45091d77b770818403def880 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_WAMPCC
        bool "wampcc"
+       depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
        depends on BR2_USE_MMU # libuv
        depends on !BR2_STATIC_LIBS # libuv
@@ -14,10 +15,11 @@ config BR2_PACKAGE_WAMPCC
 
          https://github.com/darrenjs/wampcc
 
-comment "wampcc needs a toolchain w/ NPTL, dynamic library"
+comment "wampcc needs a toolchain w/ C++, NPTL, dynamic library"
        depends on BR2_USE_MMU
        depends on BR2_TOOLCHAIN_HAS_SYNC_4
-       depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
+       depends on !BR2_INSTALL_LIBSTDCPP || \
+               !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
 
 comment "wampcc needs a toolchain not affected by GCC bug 64735"
        depends on BR2_USE_MMU