c10b7c07a4
When atomic intrisics are missing, libfastjson falls back to using pthread mutexes to manage atomicity. Of course, this is much less efficient than atomics, but it does the job. Propagate the new dependency to rsyslog, the sole user of libfastjson. Note: rsyslog already depends on threads for itself, but we believe it is better to have the exact same dependency propagated. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
819 B
Plaintext
24 lines
819 B
Plaintext
config BR2_PACKAGE_RSYSLOG
|
|
bool "rsyslog"
|
|
select BR2_PACKAGE_ZLIB
|
|
select BR2_PACKAGE_LIBESTR
|
|
select BR2_PACKAGE_LIBLOGGING
|
|
select BR2_PACKAGE_LIBFASTJSON
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on !BR2_STATIC_LIBS # modules
|
|
# Propagate the exact same dependency from libfastjson,
|
|
# even though rsyslog already depends on threads for itself:
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
|
help
|
|
Rsyslog is a powerful and flexible syslog implementation
|
|
|
|
http://www.rsyslog.com
|
|
|
|
comment "rsyslog needs a toolchain w/ threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
|
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|