From a7230519ff86ee5908b1c7f5092ee80cbc7f7c61 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Sat, 17 Dec 2022 15:57:00 +0800 Subject: [PATCH] Update: Makefile since we dont use sqlite3 and CGO --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 00153c2..8e0909f 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ web: cd web && npm run build linux: - go build -v -ldflags '-linkmode=external -extldflags=-static' -tags sqlite_omit_load_extension,netgo + CGO_ENABLED=0 go build -v -ldflags '-extldflags=-static' windows: CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -v