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>
This commit is contained in:
Christian Stewart 2020-12-16 00:00:09 -08:00 committed by Thomas Petazzoni
parent 8107509a1d
commit 9e12516f2a

View File

@ -9,7 +9,7 @@ RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION))
RUNC_LICENSE = Apache-2.0 RUNC_LICENSE = Apache-2.0
RUNC_LICENSE_FILES = LICENSE RUNC_LICENSE_FILES = LICENSE
RUNC_LDFLAGS = -X main.gitCommit=$(RUNC_VERSION) RUNC_LDFLAGS = -X main.version=$(RUNC_VERSION)
RUNC_TAGS = cgo static_build RUNC_TAGS = cgo static_build
ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y)