newt: not available for static only builds
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 21 May 2015 22:32:31 +0000 (00:32 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 21 May 2015 22:32:31 +0000 (00:32 +0200)
Fixes:
http://autobuild.buildroot.net/results/a40/a400e1fe7291d3bd3171ad04ce5fd7ba235d39af/
http://autobuild.buildroot.net/results/ec3/ec38d0f1d1faa2a87321bab10f87772eb819adc9/
http://autobuild.buildroot.net/results/7cb/7cbc8cd265d527c7b56d57e511903b23a4a84489/

newt uses autoconf but not automake, and unconditionally tries to build a
.so file - So it doesn't work in static only builds.

The only reverse dependency is network-manager, which already depends on
glibc.

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

index 1b3068a1684a1a27f782983d7836e0ec9e8cf134..a2216155bf3f5cc59a6fa5251a3f74bd60ae693a 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_NEWT
        bool "newt"
        depends on BR2_USE_WCHAR
        depends on BR2_USE_MMU # slang
+       depends on !BR2_STATIC_LIBS # unconditionally creates .so
        select BR2_PACKAGE_SLANG
        select BR2_PACKAGE_POPT
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
@@ -10,6 +11,6 @@ config BR2_PACKAGE_NEWT
 
          http://www.redhat.com/
 
-comment "newt needs a toolchain w/ wchar"
+comment "newt needs a toolchain w/ wchar, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR
+       depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS