Skip to content

Commit 36aef34

Browse files
committed
XrayHelper: linux, static link
1 parent ccbfda9 commit 36aef34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildXrayHelper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ build_android() {
3333
echo "Building XrayHelper for $TARGET"
3434
local OUTPUT="$DEST/xrayhelper"
3535
rm -f $OUTPUT
36-
GOOS=android GOARCH=$TARGET go build -v -o $OUTPUT -ldflags "-s -w -buildid=" -trimpath ./main
36+
CGO_ENABLED=0 GOOS=linux GOARCH=$TARGET go build -v -o $OUTPUT -ldflags "-s -w -buildid=" -trimpath ./main
3737
}
3838

3939
check_target

0 commit comments

Comments
 (0)