libphidget: needs dynamic library support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 2 Sep 2014 00:16:51 +0000 (21:16 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 2 Sep 2014 07:38:37 +0000 (09:38 +0200)
Fixes:
http://autobuild.buildroot.net/results/932/9322c930a545bb500b5193a84b26895a03a6b7f7/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libphidget/Config.in
package/phidgetwebservice/Config.in

index 9f3e4bf701023229e025743506318bcf78b0ed25..18a3207fc4087e5f0551db6a5b4c9e472fd3d002 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBPHIDGET
        bool "libphidget"
        depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+       depends on !BR2_PREFER_STATIC_LIB
        select BR2_PACKAGE_LIBUSB
        help
          The libphidget library provides an API for controlling Phidgets
@@ -20,5 +21,6 @@ config BR2_PACKAGE_LIBPHIDGET
 
          http://phidgets.com/
 
-comment "libphidget needs a toolchain w/ threads"
+comment "libphidget needs a toolchain w/ threads, dynamic library"
        depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_PREFER_STATIC_LIB
index 7bb6f3324e68f61c6bffbb689661226f238c5a8f..b85166ef661af096581c0c6621ece79f7114d3e4 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PHIDGETWEBSERVICE
        bool "phidgetwebservice"
        depends on BR2_TOOLCHAIN_HAS_THREADS # libusb, libphidget
+       depends on !BR2_PREFER_STATIC_LIB # libphidget
        select BR2_PACKAGE_LIBPHIDGET
        help
           phidgetwebservice (the Phidget WebService) provides an HTTP
@@ -15,5 +16,6 @@ config BR2_PACKAGE_PHIDGETWEBSERVICE
 
          http://phidgets.com/
 
-comment "phidgetwebservice needs a toolchain w/ threads"
+comment "phidgetwebservice needs a toolchain w/ threads, dynamic library"
        depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_PREFER_STATIC_LIB