From f7965694642ae5bf0de6d4034cfd0c458e8502f5 Mon Sep 17 00:00:00 2001 From: Adam Fisk Date: Mon, 27 Nov 2023 06:09:05 -0500 Subject: [PATCH] make build static to avoid platform-specific issues --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4cbf7d0f..c04e822d 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ $(DIST_DIR): mkdir -p $(DIST_DIR) $(BUILD_DIR)/http-proxy: $(SRCS) | $(BUILD_DIR) - GOPRIVATE="github.com/getlantern" go build -o $(BUILD_DIR) ./http-proxy + GOOS=linux GOARCH=amd64 CGO_ENABLED=0 GOPRIVATE="github.com/getlantern" go build -o $(BUILD_DIR) ./http-proxy build: $(BUILD_DIR)/http-proxy