[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:
torque 2024-05-12 15:11:05 -07:00
parent f742ee1a85
commit a0557fda19
Signed by: torque
SSH Key Fingerprint: SHA256:nCrXefBNo6EbjNSQhv0nXmEg/VuNq3sMF5b8zETw3Tk
2 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@
},
.dependencies = .{
.libressl = .{
.url = "https://github.com/epicyclic-dev/LibreSSL-portable/archive/9f74aeb1d2f5db5c375a1040cbd2b9abfa2749d1.tar.gz",
.hash = "122092a200f7e27e90974013d7e5cd5ef27438f67016852b5244ea287018263e78dc",
.url = "https://github.com/epicyclic-dev/LibreSSL-portable/archive/50f4105ca019bfcde951415e8e4ece808efcece9.tar.gz",
.hash = "1220c716910adebe04305bcb55ab4d3d1abd6c4416a5ec9978f1d4f8364457f9d441",
},
},
}

View File

@ -69,7 +69,7 @@ pub fn nats_c_lib(
lib.defineCMacro("_REENTRANT", null);
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"));