diff --git a/package/jemalloc/Config.in b/package/jemalloc/Config.in index f5ee950d14..b1b92bb7c5 100644 --- a/package/jemalloc/Config.in +++ b/package/jemalloc/Config.in @@ -12,12 +12,13 @@ config BR2_PACKAGE_JEMALLOC bool "jemalloc" depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS help This library providing a malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support. http://www.canonware.com/jemalloc/ -comment "jemalloc needs a toolchain w/ dynamic library" +comment "jemalloc needs a toolchain w/ dynamic library, threads" depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS