Files
termux-packages/packages/frp/Makefile.patch
termux-pacman-bot bc1a12ef2b fix(main/frp): Enable CGO
cgo is required to go 1.22
8cd359112e
2024-03-17 11:36:59 +00:00

16 lines
453 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -29,10 +29,10 @@
go vet ./...
frps:
- env CGO_ENABLED=0 go build -trimpath -ldflags "$(LDFLAGS)" -tags frps -o bin/frps ./cmd/frps
+ env go build -trimpath -ldflags "$(LDFLAGS)" -tags frps -o bin/frps ./cmd/frps
frpc:
- env CGO_ENABLED=0 go build -trimpath -ldflags "$(LDFLAGS)" -tags frpc -o bin/frpc ./cmd/frpc
+ env go build -trimpath -ldflags "$(LDFLAGS)" -tags frpc -o bin/frpc ./cmd/frpc
test: gotest