From 14bc7f5cec442a0e8bd747af9f486a1197ffa826 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 13 Jul 2023 02:27:53 -0400 Subject: [PATCH] CGO is required, and the compiler error without is confusing --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f1b5cfa..8b87efd 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ all: honk honk: .preflightcheck schema.sql *.go go.mod - go build -mod=`ls -d vendor 2> /dev/null` -o honk + env CGO_ENABLED=1 go build -mod=`ls -d vendor 2> /dev/null` -o honk .preflightcheck: preflight.sh @sh ./preflight.sh