mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-04 11:27:42 +03:00
Leverage root_module.linkSystemLibrary()
This commit is contained in:
parent
285b53d52c
commit
a1c07cc277
1 changed files with 4 additions and 4 deletions
|
@ -11,10 +11,10 @@ pub fn build(b: *std.Build) !void {
|
||||||
.strip = true,
|
.strip = true,
|
||||||
});
|
});
|
||||||
minisign.linkLibC();
|
minisign.linkLibC();
|
||||||
minisign.addLibraryPath(.{ .cwd_relative = "/opt/homebrew/lib" });
|
minisign.root_module.linkSystemLibrary(
|
||||||
minisign.addLibraryPath(.{ .cwd_relative = "/usr/local/lib" });
|
"sodium",
|
||||||
minisign.linkSystemLibrary("sodium");
|
.{ .use_pkg_config = .yes },
|
||||||
|
);
|
||||||
minisign.addIncludePath(b.path("src"));
|
minisign.addIncludePath(b.path("src"));
|
||||||
minisign.addSystemIncludePath(.{ .cwd_relative = "/opt/homebrew/include" });
|
minisign.addSystemIncludePath(.{ .cwd_relative = "/opt/homebrew/include" });
|
||||||
minisign.addSystemIncludePath(.{ .cwd_relative = "/usr/local/include" });
|
minisign.addSystemIncludePath(.{ .cwd_relative = "/usr/local/include" });
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue