mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-03 19:07:41 +03:00
build: fix mach-o relocation (#155)
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
c684406e21
commit
b5cf334b42
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ pub fn build(b: *std.Build) !void {
|
|||
.optimize = optimize,
|
||||
.strip = true,
|
||||
});
|
||||
|
||||
// fix Mach-O relocation
|
||||
minisign.headerpad_max_install_names = true;
|
||||
|
||||
minisign.linkLibC();
|
||||
if (use_libzodium) {
|
||||
var libzodium = lib: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue