From 2f37c666fb98d4038322e3665e09afa631aabc59 Mon Sep 17 00:00:00 2001 From: sam-pc <134122170+sahilmulla@users.noreply.github.com> Date: Mon, 21 Oct 2024 09:59:58 +0530 Subject: [PATCH] Fix glibc issue --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 852090b..9f9ae97 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ GITREV=`git describe | cut -c 2-` -LDFLAGS=-ldflags="-s -w -X 'github.com/writefreely/writefreely.softwareVer=$(GITREV)'" +LDFLAGS=-ldflags="-s -w -X 'github.com/writefreely/writefreely.softwareVer=$(GITREV)' -extldflags '-static'" GOCMD=go GOINSTALL=$(GOCMD) install $(LDFLAGS)