fix: build on Go 1.25.6

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan
2026-01-15 19:26:53 -05:00
parent d45d306492
commit 8485371ad3
3 changed files with 5 additions and 0 deletions
+2
View File
@@ -1,6 +1,8 @@
GO_VERSION=$(shell grep "^go " go.mod | cut -f 2 -d ' ')
NODE_VERSION=$(shell cat .nvmrc)
export CGO_CFLAGS_ALLOW=--define-prefix
ifneq ("$(wildcard .git/HEAD)","")
GIT_SHA=$(shell git rev-parse --short HEAD)
GIT_TAG=$(shell git describe --tags `git rev-list --tags --max-count=1`)-SNAPSHOT