From 9e12516f2aea1f2bc858ac16873a5ccfaeac752b Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 16 Dec 2020 00:00:09 -0800 Subject: [PATCH] package/runc: fix version output ldflags Fix the ldflags specifying the version info for "version" command. Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/runc/runc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/runc/runc.mk b/package/runc/runc.mk index c559244e83..45fe1442ad 100644 --- a/package/runc/runc.mk +++ b/package/runc/runc.mk @@ -9,7 +9,7 @@ RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION)) RUNC_LICENSE = Apache-2.0 RUNC_LICENSE_FILES = LICENSE -RUNC_LDFLAGS = -X main.gitCommit=$(RUNC_VERSION) +RUNC_LDFLAGS = -X main.version=$(RUNC_VERSION) RUNC_TAGS = cgo static_build ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y)