sodium ext support.

This commit is contained in:
javalaw
2023-05-12 09:47:43 +00:00
parent 09f1574264
commit f0e431dd63
6 changed files with 56 additions and 1 deletions

View File

@@ -292,7 +292,7 @@
"type": "builtin",
"arg-type": "with",
"lib-depends": [
"sodium"
"libsodium"
]
},
"sqlite3": {

View File

@@ -454,5 +454,11 @@
"zstd.h",
"zstd_errors.h"
]
},
"libsodium": {
"source": "libsodium",
"static-libs-unix": [
"libsodium.a"
]
}
}

View File

@@ -411,5 +411,13 @@
"type": "file",
"path": "LICENSE"
}
},
"libsodium": {
"type": "url",
"url": "https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz",
"license": {
"type": "file",
"path": "LICENSE"
}
}
}