From 77e945b003e1b401c0def36db403c937e4d604bb Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 16 Sep 2023 16:22:56 +0200 Subject: [PATCH] package/check: disable static build check can't be built statically since switch to cmake in commit 6dfc789f4f21367bc5f4b5454db0922821a765bc: /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/mipsel-buildroot-linux-uclibc/12.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: libcheck.so.0.15.2: hidden symbol `__fini_array_end' isn't defined Fixes: - http://autobuild.buildroot.org/results/0d6/0d6fcbedef29bf0d6a1d9ecb8e4d82b4ad06cfa8 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- package/check/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/check/Config.in b/package/check/Config.in index 2312fbf81c..a3a7ff1f11 100644 --- a/package/check/Config.in +++ b/package/check/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_CHECK bool "check" + depends on !BR2_STATIC_LIBS help Check is a unit testing framework for C. https://libcheck.github.io/check/ + +comment "check needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS