diff --git a/setup.py b/setup.py index 8a2f7ea..1a33ea5 100644 --- a/setup.py +++ b/setup.py @@ -132,6 +132,7 @@ if __name__ == "__main__": # Required for SQLCipher. ("SQLITE_HAS_CODEC", "1"), ("SQLITE_TEMP_STORE", "2"), + ("SQLITE_THREADSAFE", "1") ("SQLITE_EXTRA_INIT", "sqlcipher_extra_init"), ("SQLITE_EXTRA_SHUTDOWN", "sqlcipher_extra_shutdown"), # Increase the maximum number of "host parameters".