0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 14:13:36 +00:00
termux-packages/packages/frp/Makefile.patch
Biswapriyo Nath 04809d6cb0 fix(main/frp): Enable CGO
cgo is required to go 1.22
8cd359112e
2024-03-17 19:21:38 +08: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