mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-03 02:47:41 +03:00
Set headerpad_max_install_names only when linking libsodium
This commit is contained in:
parent
b5cf334b42
commit
090cc4752c
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ pub fn build(b: *std.Build) !void {
|
|||
std.fs.accessAbsolute(path, .{}) catch continue;
|
||||
minisign.addLibraryPath(.{ .cwd_relative = path });
|
||||
}
|
||||
minisign.headerpad_max_install_names = true; // required to compile using Homebrew, see https://github.com/jedisct1/minisign/pull/155
|
||||
minisign.root_module.linkSystemLibrary(
|
||||
"sodium",
|
||||
.{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue