Skip to contentSkip to conversation

libmaxminddb: needs a toolchain with threads

PATCH New Fabrice Fontaine 1 participant 1 message Feb 1, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libmaxminddb: needs a toolchain with threads

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

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

---
 package/libmaxminddb/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/libmaxminddb/Config.in +4 -0
index 1b8061b7b7..9e86cfee07 100644
@@ -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
Signature · 1 line
2.14.1