nut: now needs C++ support
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 2 Jun 2014 11:20:15 +0000 (13:20 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 2 Jun 2014 11:20:15 +0000 (13:20 +0200)
Fixes http://autobuild.buildroot.net/results/8c5/8c5dc5f09e2dcb2a3aba1c451a53de8e79d531dc/

After the version bump, nut now unconditionally builds a C++ client library,
so adjust the dependencies to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/nut/Config.in

index 704578768cef1df3cc27882ad034e7c6ea181b46..659c9586f59cc5cdf51cf4963ca3f7eabf589459 100644 (file)
@@ -1,6 +1,11 @@
+comment "nut needs a toolchain w/ C++"
+       depends on BR2_USE_MMU
+       depends on !BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_NUT
        bool "nut"
        depends on BR2_USE_MMU # fork()
+       depends on BR2_INSTALL_LIBSTDCPP
        help
          Network UPS tools