mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-03 19:07:41 +03:00
defineCMacro -> root_module.addCMacro
This commit is contained in:
parent
55320cc84c
commit
cbc79b3ece
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ pub fn build(b: *std.Build) !void {
|
|||
minisign.addIncludePath(b.path("src"));
|
||||
minisign.addSystemIncludePath(.{ .cwd_relative = "/opt/homebrew/include" });
|
||||
minisign.addSystemIncludePath(.{ .cwd_relative = "/usr/local/include" });
|
||||
minisign.defineCMacro("_GNU_SOURCE", "1");
|
||||
minisign.root_module.addCMacro("_GNU_SOURCE", "1");
|
||||
const source_files = &.{ "src/base64.c", "src/get_line.c", "src/helpers.c", "src/minisign.c" };
|
||||
minisign.addCSourceFiles(.{ .files = source_files });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue