make should now be able to locate the go executable more easily

This commit is contained in:
CapCreeperGR 2024-07-01 13:16:37 +03:00
parent ed45b739a5
commit 153758b68e

View File

@ -8,7 +8,7 @@ ifeq ($(SYSCONFDIR),)
SYSCONFDIR := $(PREFIX)/etc
endif
ifeq ($(GO),)
GO := /usr/bin/go
GO := $(shell type -a -P go | head -n 1)
endif
build: