From a90775e980e1b7eab0339095cf13503152954c25 Mon Sep 17 00:00:00 2001 From: Christopher McCrory Date: Thu, 27 Sep 2018 07:46:45 -0700 Subject: [PATCH] perl-sys-cpu: disable in static configurations The perl-sys-cpu package builds a native shared library, which makes it incompatible with static-only configurations. Fixes: http://autobuild.buildroot.net/results/ea64c2d8022932162d36301ca4061f61cd208c11/ Signed-off-by: Christopher McCrory Signed-off-by: Thomas Petazzoni --- package/perl-sys-cpu/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/perl-sys-cpu/Config.in b/package/perl-sys-cpu/Config.in index a604945740..8306b371dc 100644 --- a/package/perl-sys-cpu/Config.in +++ b/package/perl-sys-cpu/Config.in @@ -1,5 +1,9 @@ config BR2_PACKAGE_PERL_SYS_CPU bool "perl-sys-cpu" + depends on !BR2_STATIC_LIBS help Perl module for getting information about the system CPU (Sys::CPU). + +comment "perl-sys-cpu needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS