[wip] build: update for zig-0.12.0
this doesn't actually work, apparently, due to the installed libressl headers somehow not ending up in the right place during compilation? I have no idea what is wrong, though.
This commit is contained in:
parent
f742ee1a85
commit
1dd1ebfe5d
@ -13,8 +13,8 @@
|
|||||||
},
|
},
|
||||||
.dependencies = .{
|
.dependencies = .{
|
||||||
.libressl = .{
|
.libressl = .{
|
||||||
.url = "https://github.com/epicyclic-dev/LibreSSL-portable/archive/9f74aeb1d2f5db5c375a1040cbd2b9abfa2749d1.tar.gz",
|
.url = "https://github.com/epicyclic-dev/LibreSSL-portable/archive/bde65fceb442ec033e13a271ccf1f7a1b9594974.tar.gz",
|
||||||
.hash = "122092a200f7e27e90974013d7e5cd5ef27438f67016852b5244ea287018263e78dc",
|
.hash = "1220ac2789cadee5700be832a9c69490893b6b7a5e36123272246acefa66777e1a79",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ pub fn nats_c_lib(
|
|||||||
lib.defineCMacro("_REENTRANT", null);
|
lib.defineCMacro("_REENTRANT", null);
|
||||||
|
|
||||||
inline for (install_headers) |header| {
|
inline for (install_headers) |header| {
|
||||||
lib.installHeader(nats_src_prefix ++ header, "nats/" ++ header);
|
lib.installHeader(b.path(nats_src_prefix ++ header), "nats/" ++ header);
|
||||||
}
|
}
|
||||||
|
|
||||||
lib.linkLibrary(ssl_dep.artifact("ssl"));
|
lib.linkLibrary(ssl_dep.artifact("ssl"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user