Compare commits
2 Commits
a373b82991
...
02abfefee4
Author | SHA1 | Date | |
---|---|---|---|
02abfefee4 | |||
![]() |
5ba009c755 |
@ -12,7 +12,7 @@ pub fn build(b: *std.Build) !void {
|
|||||||
const upstream = b.dependency("libressl", .{});
|
const upstream = b.dependency("libressl", .{});
|
||||||
const libressl_common: LibreSslCommon = .{
|
const libressl_common: LibreSslCommon = .{
|
||||||
.libcrypto = b.addStaticLibrary(.{
|
.libcrypto = b.addStaticLibrary(.{
|
||||||
.name = "cypto",
|
.name = "crypto",
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
}),
|
}),
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
.{
|
.{
|
||||||
.name = "libressl",
|
.name = "libressl",
|
||||||
.version = "3.9.2",
|
.version = "3.9.2+1",
|
||||||
.minimum_zig_version = "0.12.0",
|
.minimum_zig_version = "0.12.0",
|
||||||
.dependencies = .{
|
.dependencies = .{
|
||||||
.libressl = .{
|
.libressl = .{
|
||||||
|
@ -21,7 +21,7 @@ First, update your `build.zig.zon`:
|
|||||||
```sh
|
```sh
|
||||||
# Initialize a `zig build` project if you haven't already
|
# Initialize a `zig build` project if you haven't already
|
||||||
zig init
|
zig init
|
||||||
# replace <refname> with the version you want to use, e.g. 3.9.2
|
# replace <refname> with the version you want to use, e.g. 3.9.2+1
|
||||||
zig fetch --save git+https://github.com/allyourcodebase/libressl#<refname>
|
zig fetch --save git+https://github.com/allyourcodebase/libressl#<refname>
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -40,4 +40,4 @@ your_exe.linkLibrary(libressl_dependency.artifact("tls")); // or "ssl", or "cryp
|
|||||||
|
|
||||||
| Refname | LibreSSL Version | Zig `0.12.x` | Zig `0.13.x` | Zig `0.14.0-dev` |
|
| Refname | LibreSSL Version | Zig `0.12.x` | Zig `0.13.x` | Zig `0.14.0-dev` |
|
||||||
|----------|------------------|--------------|--------------|------------------|
|
|----------|------------------|--------------|--------------|------------------|
|
||||||
| `3.9.2` | `3.9.2` | ✅ | ✅ | ✅ |
|
| `3.9.2+1`| `3.9.2+1` | ✅ | ✅ | ✅ |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user