瀏覽代碼

newt: not available for static only builds

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>
Peter Korsgaard 10 年之前
父節點
當前提交
8bee6ae663
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      package/newt/Config.in

+ 3 - 2
package/newt/Config.in

@@ -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