package/upmpdcli: needs NPTL
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 16 Feb 2019 10:42:02 +0000 (11:42 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 24 Feb 2019 20:23:41 +0000 (21:23 +0100)
The software uses pthread_mutexattr_setrobust which isn't available in
uClibc-ng Linuxthreads support.

Fixes:
 - http://autobuild.buildroot.org/results/197615ad077b0a719954024c3ba182dac43a0555

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/upmpdcli/Config.in

index cf85a793ea7e66d8cd3a8199eb15d9eefb5def20..74eb7688305eb0cd9e24e17f6022f0f984efa51b 100644 (file)
@@ -2,7 +2,7 @@ config BR2_PACKAGE_UPMPDCLI
        bool "upmpdcli"
        depends on BR2_USE_MMU # fork()
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_TOOLCHAIN_HAS_THREADS # libupnpp, libmicrohttpd
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11, libupnpp
        select BR2_PACKAGE_JSONCPP
        select BR2_PACKAGE_LIBMICROHTTPD
@@ -15,6 +15,8 @@ config BR2_PACKAGE_UPMPDCLI
 
          http://www.lesbonscomptes.com/upmpdcli/
 
-comment "upmpdcli needs a toolchain w/ C++, threads, gcc >= 4.9"
+comment "upmpdcli needs a toolchain w/ C++, NPTL, gcc >= 4.9"
        depends on BR2_USE_MMU
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+       depends on !BR2_INSTALL_LIBSTDCPP || \
+               !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9