CGO is required, and the compiler error without is confusing
This commit is contained in:
parent
51fe6d99b2
commit
14bc7f5cec
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@
|
||||||
all: honk
|
all: honk
|
||||||
|
|
||||||
honk: .preflightcheck schema.sql *.go go.mod
|
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
|
.preflightcheck: preflight.sh
|
||||||
@sh ./preflight.sh
|
@sh ./preflight.sh
|
||||||
|
|
Loading…
Reference in New Issue