perl-sys-cpu: disable in static configurations
authorChristopher McCrory <chrismcc@gmail.com>
Thu, 27 Sep 2018 14:46:45 +0000 (07:46 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 8 Oct 2018 19:40:30 +0000 (21:40 +0200)
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>
package/perl-sys-cpu/Config.in

index a604945740d9c1c6bdc43bf8cf3071010691de8e..8306b371dc72c7f2cb31a59c60583634f5a2b17d 100644 (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