From a46e21790953643a69f10e6eb40bd01304f9b062 Mon Sep 17 00:00:00 2001 From: Michael Li Date: Wed, 5 Apr 2023 17:17:38 +0800 Subject: [PATCH] change CGO_ENABLED := 1 if not set in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2d7f244c..68a36027 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ endif TARGET_BIN = $(basename $(TARGET)) ifeq (n$(CGO_ENABLED),n) -CGO_ENABLED := 0 +CGO_ENABLED := 1 endif RELEASE_ROOT = release