pigpio: needs thread support
authorGrzegorz Blach <grzegorz@blach.pl>
Thu, 11 Oct 2018 12:36:41 +0000 (14:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 11 Oct 2018 14:33:59 +0000 (16:33 +0200)
Fixes:

  http://autobuild.buildroot.net/results/2f64c993db402decf92a5f8010033acdbc6b884f/

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pigpio/Config.in

index fee496b2efcb49806d39e41d837a7e70916b0404..2180ab0de6440a5aa009f2b41a92961441f1d07e 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PIGPIO
        bool "pigpio"
        depends on BR2_aarch64 || BR2_arm
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on !BR2_STATIC_LIBS
        help
          Pigpio is a library for the Raspberry Pi which allows
@@ -8,6 +9,6 @@ config BR2_PACKAGE_PIGPIO
 
          http://abyz.me.uk/rpi/pigpio/
 
-comment "pigpio needs a toolchain w/ dynamic library"
+comment "pigpio needs a toolchain w/ threads, dynamic library"
        depends on BR2_aarch64 || BR2_arm
-       depends on !BR2_STATIC_LIBS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS