Browse Source

package/jemalloc: needs threads

Fixes:
    http://autobuild.buildroot.org/results/73c437fb932a30bae17653173e8ce35cc91757ef/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN 9 years ago
parent
commit
6ebd430ef0
1 changed files with 3 additions and 2 deletions
  1. 3 2
      package/jemalloc/Config.in

+ 3 - 2
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