libressl/readme.md
2024-09-14 17:00:34 -07:00

519 B

LibreSSL

This is LibreSSL Portable, packaged for Zig.

Installation

First, update your build.zig.zon:

# Initialize a `zig build` project if you haven't already
zig init
zig fetch --save <PLACEHOLDER>

You can then import libressl in your build.zig with:

const libressl_dependency = b.dependency("libressl", .{
    .target = target,
    .optimize = optimize,
});
your_exe.linkLibrary(libressl_dependency.artifact("tls"));