package/apcupsd: always depend on threads

Fixes:
http://autobuild.buildroot.net/results/aa2ad7bdb37da611a4ec863ed2e986f34ea5228b/build-end.log

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2020-04-22 00:49:42 -06:00 committed by Thomas Petazzoni
parent 2af0837366
commit 30365ace8a

View file

@ -1,6 +1,7 @@
config BR2_PACKAGE_APCUPSD
bool "apcupsd"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
help
A daemon for controlling APC UPSes.
@ -64,6 +65,6 @@ comment "usb support needs a toolchain w/ threads"
endif
comment "apcupsd needs a toolchain w/ C++"
comment "apcupsd needs a toolchain w/ C++, threads"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS