summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher McCrory <chrismcc@gmail.com>2018-09-27 07:46:45 -0700
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-10-08 21:40:30 +0200
commita90775e980e1b7eab0339095cf13503152954c25 (patch)
tree347e95e45caffe5b583c2e7378c53e17851b5c26
parent9cf2457878ff25b5825074194d8c92a831624749 (diff)
downloadbuildroot-a90775e980e1b7eab0339095cf13503152954c25.tar.gz
buildroot-a90775e980e1b7eab0339095cf13503152954c25.zip
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 <chrismcc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/perl-sys-cpu/Config.in4
1 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud