Skip to content

Commit a0b6e04

Browse files
authored
Merge pull request #46 from lightninglabs/fix-commit-tag
build: fix commit tag
2 parents 550edee + a0ed246 commit a0b6e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ endif
4646
# We only return the part inside the double quote here to avoid escape issues
4747
# when calling the external release script. The second parameter can be used to
4848
# add additional ldflags if needed (currently only used for the release).
49-
make_ldflags = $(2) -X $(PKG).Commit=$(COMMIT)
49+
make_ldflags = $(2) -X main.Commit=$(COMMIT)
5050

5151
DEV_GCFLAGS := -gcflags "all=-N -l"
5252
LDFLAGS := -ldflags "$(call make_ldflags, ${tags}, -s -w)"

0 commit comments

Comments
 (0)