Skip to content

Commit c97a348

Browse files
committed
Explicitly enable CGO, in case it isn't enabled in a users default configuration.
1 parent 2fd053e commit c97a348

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build-static.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# and trim the build path of your current working directory from all information returned in case of a panic.
1414

1515
. ./functions.sh
16-
CC=musl-gcc go build -buildmode=pie -trimpath -ldflags "-linkmode external -w -s -extldflags '-static' -X main.Version=$(git_version)" -o nvdaRemoteServer .
16+
CGO_ENABLED=1 CC=musl-gcc go build -buildmode=pie -trimpath -ldflags "-linkmode external -w -s -extldflags '-static' -X main.Version=$(git_version)" -o nvdaRemoteServer .

0 commit comments

Comments
 (0)