Skip to content

Commit c79add6

Browse files
committed
fixup: macos still sad
1 parent dbb15fa commit c79add6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

wireguard-go-rs/build-wireguard-go.sh

+3-4
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,12 @@ function build_unix {
9090
mkdir -p "$BUILD_DIR/lib/$TARGET"
9191
pushd libwg
9292

93-
local tags
94-
tags=()
93+
local tags=""
9594
if [[ "$DAITA" == "true" ]]; then
96-
tags+=(--tags daita)
95+
tags="--tags daita"
9796
fi
9897

99-
go build -v "${tags[@]}" -o "$BUILD_DIR/lib/$TARGET"/libwg.a -buildmode c-archive
98+
go build -v "$tags" -o "$BUILD_DIR/lib/$TARGET"/libwg.a -buildmode c-archive
10099

101100
popd
102101
}

0 commit comments

Comments
 (0)