Преглед изворни кода

Fix missing cgo in release builds

Jonathan D. Storm пре 9 месеци
родитељ
комит
9493625d51
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      build.sh

+ 1 - 0
build.sh

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