zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 73c2e91a0dee356048898d5b72e01969af9097e3 (tree)
parent 304eb54169ad9b6d7fc278807df39ef68e76202f
Author: Jakub Konka <kubkon@jakubkonka.com>
Date:   Tue, 25 Oct 2022 23:55:58 +0200

build: include -lzstd in the linker line when building Zig

Diffstat:
Mbuild.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/build.zig b/build.zig @@ -635,6 +635,7 @@ fn addStaticLlvmOptionsToExe(exe: *std.build.LibExeObjStep) !void { } exe.linkSystemLibrary("z"); + exe.linkSystemLibrary("zstd"); // This means we rely on clang-or-zig-built LLVM, Clang, LLD libraries. exe.linkSystemLibrary("c++");