bluez-alsa: needs NPTL
authorBaruch Siach <baruch@tkos.co.il>
Tue, 1 May 2018 16:30:03 +0000 (19:30 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 1 May 2018 19:25:48 +0000 (21:25 +0200)
bluez-alsa calls pthread_setname_np() which is only provided by the NPTL
pthread implementation.

Fixes:
http://autobuild.buildroot.net/results/707/707fd46921b1cfda90e9c30be33ca918f2d0cb00/
http://autobuild.buildroot.net/results/7a6/7a632c2b6b9021aa6edcd5126400de26e2b8ca42/

Cc: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/bluez-alsa/Config.in

index 317762057c3d3dbd4695013a60f1e88062189e19..f082f4b83821b0678a26b8a2f08e7326849e8152 100644 (file)
@@ -2,7 +2,7 @@ config BR2_PACKAGE_BLUEZ_ALSA
        bool "bluez-alsa"
        depends on !BR2_STATIC_LIBS # bluez5
        depends on !BR2_PACKAGE_BLUEZ_UTILS # bluez5
-       depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5
        depends on BR2_USE_MMU # bluez5 -> dbus
@@ -28,8 +28,8 @@ config BR2_PACKAGE_BLUEZ_ALSA_HCITOP
 
 endif
 
-comment "bluez-alsa needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library"
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+comment "bluez-alsa needs a toolchain w/ wchar, NPTL, headers >= 3.4, dynamic library"
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
                !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS
        depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on BR2_USE_MMU