mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-18 16:51:50 +01:00
make: move escaped double quote to fix windows build
This commit is contained in:
4
Makefile
4
Makefile
@@ -52,10 +52,10 @@ include make/testing_flags.mk
|
|||||||
|
|
||||||
DEV_TAGS := $(if ${tags},$(DEV_TAGS) ${tags},$(DEV_TAGS))
|
DEV_TAGS := $(if ${tags},$(DEV_TAGS) ${tags},$(DEV_TAGS))
|
||||||
|
|
||||||
make_ldflags = $(shell echo -ldflags \"-X $(PKG)/build.Commit=$(COMMIT) \
|
make_ldflags = -ldflags "$(shell echo -X $(PKG)/build.Commit=$(COMMIT) \
|
||||||
-X $(PKG)/build.CommitHash=$(COMMIT_HASH) \
|
-X $(PKG)/build.CommitHash=$(COMMIT_HASH) \
|
||||||
-X $(PKG)/build.GoVersion=$(GOVERSION) \
|
-X $(PKG)/build.GoVersion=$(GOVERSION) \
|
||||||
-X $(PKG)/build.RawTags=$(shell echo $(1) | sed -e 's/ /,/g')\")
|
-X $(PKG)/build.RawTags=$(shell echo $(1) | sed -e 's/ /,/g'))"
|
||||||
|
|
||||||
LDFLAGS := $(call make_ldflags, ${tags})
|
LDFLAGS := $(call make_ldflags, ${tags})
|
||||||
DEV_LDFLAGS := $(call make_ldflags, $(DEV_TAGS))
|
DEV_LDFLAGS := $(call make_ldflags, $(DEV_TAGS))
|
||||||
|
|||||||
Reference in New Issue
Block a user