Browse Source

Fix missing cgo in release builds

Jonathan D. Storm 9 months ago
parent
commit
9493625d51
1 changed files with 1 additions and 0 deletions
  1. 1 0
      build.sh

+ 1 - 0
build.sh

@@ -6,6 +6,7 @@ set -euo pipefail
 function build() {
 function build() {
 	export GOOS=$1
 	export GOOS=$1
 	export GOARCH=$2
 	export GOARCH=$2
+	export CGO_ENABLED=1
 
 
 	local artifact=dump2sql-$GOOS-$GOARCH
 	local artifact=dump2sql-$GOOS-$GOARCH