package/runc: fix version output ldflags

Fix the ldflags specifying the version info for "version" command.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 9e12516f2a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Christian Stewart
2020-12-16 00:00:09 -08:00
committed by Peter Korsgaard
parent a66200f6b3
commit a6f2516c58

View File

@@ -11,7 +11,7 @@ RUNC_LICENSE_FILES = LICENSE
RUNC_WORKSPACE = Godeps/_workspace
RUNC_LDFLAGS = -X main.gitCommit=$(RUNC_VERSION)
RUNC_LDFLAGS = -X main.version=$(RUNC_VERSION)
RUNC_TAGS = cgo static_build