mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-04 11:27:42 +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,
|
.optimize = optimize,
|
||||||
.strip = true,
|
.strip = true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// fix Mach-O relocation
|
||||||
|
minisign.headerpad_max_install_names = true;
|
||||||
|
|
||||||
minisign.linkLibC();
|
minisign.linkLibC();
|
||||||
if (use_libzodium) {
|
if (use_libzodium) {
|
||||||
var libzodium = lib: {
|
var libzodium = lib: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue