From c496dfe4bc63d4eeb2b3d0d0600984fc492d54a3 Mon Sep 17 00:00:00 2001 From: mudler Date: Thu, 1 Jun 2023 22:42:16 +0200 Subject: [PATCH] Revert "use STATIC=true in dist" This reverts commit 9a7d61ffa3ccb06b8093b7e09c00a747f8ed49fe. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a43eb1dd..0f18db07 100644 --- a/Makefile +++ b/Makefile @@ -209,8 +209,7 @@ build: prepare ## Build the project $(info ${GREEN}I GO_TAGS: ${YELLOW}$(GO_TAGS)${RESET}) CGO_LDFLAGS="$(CGO_LDFLAGS)" C_INCLUDE_PATH=${C_INCLUDE_PATH} LIBRARY_PATH=${LIBRARY_PATH} $(GOCMD) build -ldflags "$(LD_FLAGS)" -tags "$(GO_TAGS)" -o $(BINARY_NAME) ./ -dist: - STATIC=true $(MAKE) build +dist: build mkdir -p release cp $(BINARY_NAME) release/$(BINARY_NAME)-$(BUILD_ID)-$(OS)-$(ARCH)