[Buildroot] [PATCH 1/1] libmaxminddb: needs a toolchain with threads

Fabrice Fontaine fontaine.fabrice at gmail.com
Thu Feb 1 19:23:31 UTC 2018


libmaxminddb added a pthread dependency to bin/mmdblookup in version
1.3.2

Fixes:
 - https://autobuild.buildroot.net/results/3e653a5fa4cbd714980ce0f1c3b02f3abb6d558e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/libmaxminddb/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/libmaxminddb/Config.in b/package/libmaxminddb/Config.in
index 1b8061b7b7..9e86cfee07 100644
--- a/package/libmaxminddb/Config.in
+++ b/package/libmaxminddb/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBMAXMINDDB
 	bool "libmaxminddb"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  C library for the MaxMind DB file format
 
@@ -16,3 +17,6 @@ config BR2_PACKAGE_LIBMAXMINDDB
 	  Attribution-ShareAlike 3.0 Unported License.
 
 	  http://maxmind.github.io/libmaxminddb
+
+comment "libmaxminddb needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
-- 
2.14.1



More information about the buildroot mailing list