mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-03 19:07:41 +03:00
Make libsodium optional
This commit is contained in:
parent
e640be4b8f
commit
e43b9ff13b
5 changed files with 184 additions and 30 deletions
13
README.md
13
README.md
|
@ -20,17 +20,24 @@ Compilation / installation
|
|||
|
||||
Dependencies:
|
||||
|
||||
* [libsodium](https://libsodium.org/)
|
||||
* [libsodium](https://libsodium.org/) (*optional*)
|
||||
* [zig](https://ziglang.org)
|
||||
|
||||
Compilation:
|
||||
Compilation with libsodium:
|
||||
|
||||
$ zig build -Drelease
|
||||
|
||||
Compilation without libsodium:
|
||||
|
||||
$ zig build -Drelease -Dwithout_libsodium
|
||||
|
||||
The resulting binary can be found in `zig-out/bin/minisign`.
|
||||
|
||||
## Using cmake and gcc or clang:
|
||||
|
||||
* [libsodium](https://libsodium.org/)
|
||||
Dependencies:
|
||||
|
||||
* [libsodium](https://libsodium.org/) (*required*)
|
||||
* cmake
|
||||
* pkg-config
|
||||
* gcc or clang
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue