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

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

index 049d98123e1f1bfbf31b35bfb57571b7b41ff36f..a42abd70b7a50b19e9ef54bddbf4c562933b3c87 100644 (file)
@@ -48,13 +48,17 @@ config BR2_PACKAGE_SCONESERVER_BLUETOOTH
        depends on BR2_USE_MMU # bluez5_utils -> dbus
        depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, libglib2
        depends on !BR2_STATIC_LIBS # bluez5_utils
+       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
          Bluetooth module for Sconeserver
 
-comment "bluetooth support needs a toolchain w/ wchar, threads, dynamic library"
+comment "bluetooth support needs a toolchain w/ wchar, threads, dynamic library, headers >= 3.4"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
 
 config BR2_PACKAGE_SCONESERVER_RSS
        bool "rss"