package/cwiid: add all blue5_utils dependencies
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 4 Feb 2020 17:58:00 +0000 (18:58 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 4 Feb 2020 21:33:48 +0000 (22:33 +0100)
Commit 61a813339af43024ec05e749a05886fff1bf2a39 forgot to add all the
bluez5_utils dependencies

Fixes:
 - http://autobuild.buildroot.org/results/a125a27814aba007b06fabe3db2d402684d173db

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/cwiid/Config.in

index 35e0c45557817531ae6cecbb6f7c539dde65ccb5..9dab5d10700bcfbc78f7f1c4fd3967738ac2e784 100644 (file)
@@ -4,6 +4,8 @@ config BR2_PACKAGE_CWIID
        depends on BR2_USE_WCHAR # bluez5_utils -> libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, alsa-lib, libglib2
        depends on BR2_USE_MMU # bluez5_utils -> dbus, libglib2
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils
        select BR2_PACKAGE_BLUEZ5_UTILS
        help
          A collection of Linux tools written in C for interfacing to
@@ -25,6 +27,9 @@ config BR2_PACKAGE_CWIID_WMGUI
        select BR2_PACKAGE_LIBGTK2
 endif
 
-comment "cwiid needs a toolchain w/ dynamic lib, threads, wchar"
-       depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+comment "cwiid needs a toolchain w/ dynamic lib, threads, wchar, headers >= 3.4"
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
+       depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
+               !BR2_TOOLCHAIN_HAS_THREADS || \
+               !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
        depends on !BR2_USE_MMU