nix: direct-sqlcipher patch, openssl flag for android (#1011)

This commit is contained in:
Evgeny Poberezkin
2022-09-02 22:03:53 +01:00
committed by GitHub
parent 7999e88554
commit ddde821064
3 changed files with 31 additions and 19 deletions
+12
View File
@@ -0,0 +1,12 @@
diff --git a/direct-sqlcipher.cabal b/direct-sqlcipher.cabal
index 728ba3e..c63745e 100644
--- a/direct-sqlcipher.cabal
+++ b/direct-sqlcipher.cabal
@@ -84,6 +84,8 @@ library
cc-options: -DSQLITE_TEMP_STORE=2
-DSQLITE_HAS_CODEC
+ extra-libraries: dl
+
if !os(windows) && !os(android)
extra-libraries: pthread