mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-04 11:27:42 +03:00
Move libzodium files to a dedicated directory
This commit is contained in:
parent
1c44ef601e
commit
c165362385
5 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ pub fn build(b: *std.Build) !void {
|
|||
minisign.linkLibC();
|
||||
if (use_libzodium) {
|
||||
const libzodium_mod = b.createModule(.{
|
||||
.root_source_file = b.path("src/libzodium.zig"),
|
||||
.root_source_file = b.path("src/libzodium/libzodium.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#ifdef LIBZODIUM
|
||||
# include "zodium.h"
|
||||
# include "libzodium/sodium.h"
|
||||
#else
|
||||
# include <sodium.h>
|
||||
#endif
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#ifdef LIBZODIUM
|
||||
# include "zodium.h"
|
||||
# include "libzodium/sodium.h"
|
||||
#else
|
||||
# include <sodium.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue