summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2013-12-12 16:45:56 (GMT)
committerMark Brand <mabrand@mabrand.nl>2013-12-16 12:18:34 (GMT)
commitca680fb18dbdb081ddd9ddc7c5011ebcecc37649 (patch)
treec77178420453b7766d20bc39f6f916bac5380b6f
parent20909dba34cbaa729af13ea2826fe4a1148f30e7 (diff)
downloadmxe-ca680fb18dbdb081ddd9ddc7c5011ebcecc37649.zip
mxe-ca680fb18dbdb081ddd9ddc7c5011ebcecc37649.tar.gz
mxe-ca680fb18dbdb081ddd9ddc7c5011ebcecc37649.tar.bz2
package sqlite: do not disable thread safety
This was disabled in 9ff1828308481a01ada21c772320f863393ea072 due to buggy pthread support, but this this option does not induce sqlite to use multiple threads. Instead, it builds sqlite with the necessary mutexes to make the library thread safe. https://sqlite.org/threadsafe.html
-rw-r--r--src/sqlite.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqlite.mk b/src/sqlite.mk
index a440b7c..49809b9 100644
--- a/src/sqlite.mk
+++ b/src/sqlite.mk
@@ -23,6 +23,6 @@ define $(PKG)_BUILD
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
--disable-readline \
- --disable-threadsafe
+ --enable-threadsafe
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef