cups: add dependency on threads
authorOlivier Schonken <olivier.schonken@gmail.com>
Wed, 1 Nov 2017 10:24:38 +0000 (12:24 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Nov 2017 13:03:19 +0000 (14:03 +0100)
Fixes:

  http://autobuild.buildroot.net/results/0f1cb8d72d0a78eb8b5c46548bc7c7bade93c674

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/cups/Config.in

index 3f5460c11bfa5d986fe1395c7262c8aa402e26cb..e23f069a8a5b528eff5dda2640cda18f6fe99f31 100644 (file)
@@ -2,6 +2,8 @@ config BR2_PACKAGE_CUPS
        bool "cups"
        # needs libstdcpp for ppdc
        depends on BR2_INSTALL_LIBSTDCPP
+       # needs threads for ippserver
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        # needs fork()
        depends on BR2_USE_MMU
        help
@@ -9,5 +11,5 @@ config BR2_PACKAGE_CUPS
 
          http://www.cups.org
 
-comment "cups needs a toolchain w/ C++"
-       depends on !BR2_INSTALL_LIBSTDCPP
+comment "cups needs a toolchain w/ C++, threads"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS