CGO is required, and the compiler error without is confusing

This commit is contained in:
Ted Unangst 2023-07-13 02:27:53 -04:00
parent 51fe6d99b2
commit 14bc7f5cec
1 changed files with 1 additions and 1 deletions

View File

@ -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