aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2015-05-22 00:32:31 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-05-22 00:32:31 +0200
commit8bee6ae663f592f53d71f4dfb031281cb46dabb8 (patch)
treeb2bf3e6022ab2c4aaa9e471327d60e795df2b971
parentfa4d2a66d7d7ef7bd43df492995f00f58aef3097 (diff)
downloadbuildroot-8bee6ae663f592f53d71f4dfb031281cb46dabb8.tar.gz
buildroot-8bee6ae663f592f53d71f4dfb031281cb46dabb8.tar.bz2
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>
-rw-r--r--package/newt/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/newt/Config.in b/package/newt/Config.in
index 1b3068a168..a2216155bf 100644
--- a/package/newt/Config.in
+++ b/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