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>
This commit is contained in:
Christopher McCrory 2018-09-27 07:46:45 -07:00 committed by Thomas Petazzoni
parent 9cf2457878
commit a90775e980

View File

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