Makefile: allow spaces in Vendor variable

Add simple quoting to the ldflags argument
This commit is contained in:
Robert Coup 2022-10-13 12:27:39 +01:00
parent ce270542a0
commit 8d3004275a

@ -26,7 +26,7 @@ GO_TEST_EXTRA_ARGS =
# DWARF-stripping is enabled unless DWARF=YesPlease.
BUILTIN_LD_FLAGS =
ifneq ("$(VENDOR)","")
BUILTIN_LD_FLAGS += -X github.com/git-lfs/git-lfs/v3/config.Vendor=$(VENDOR)
BUILTIN_LD_FLAGS += -X 'github.com/git-lfs/git-lfs/v3/config.Vendor=$(VENDOR)'
endif
BUILTIN_LD_FLAGS += -X github.com/git-lfs/git-lfs/v3/config.GitCommit=$(GIT_LFS_SHA)
ifneq ("$(DWARF)","YesPlease")