1
0
mirror of https://github.com/writeas/writefreely synced 2025-01-04 20:19:38 +01:00

Merge pull request #1116 from sahilmulla/fix-glibc

Fix glibc issue
This commit is contained in:
Matt Baer 2024-10-22 10:42:36 -04:00 committed by GitHub
commit 9421cfd422
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)