CGO is required, and the compiler error without is confusing
This commit is contained in:
parent
51fe6d99b2
commit
14bc7f5cec
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in a new issue