From 79fd6b1ee93fcc787543c46da61122a396e0c8dd Mon Sep 17 00:00:00 2001 From: ZhouGuangyuan Date: Sun, 2 Aug 2026 14:13:43 +0800 Subject: [PATCH] go-llvm: link zstd for static LLVM on Linux --- llvm_link_static.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm_link_static.go b/llvm_link_static.go index c9667f6..b8dacfb 100644 --- a/llvm_link_static.go +++ b/llvm_link_static.go @@ -4,7 +4,7 @@ package llvm /* #cgo darwin LDFLAGS: -L${SRCDIR} -lLLVMGoALLC -lm -lz -lxml2 -#cgo linux LDFLAGS: -L${SRCDIR} -lLLVMGoALLC -lm -lz -lxml2 -ldl -lpthread -lrt +#cgo linux LDFLAGS: -L${SRCDIR} -lLLVMGoALLC -lm -lz -lzstd -lxml2 -ldl -lpthread -lrt */ import "C"