소스 검색

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 9e12516f2aea1f2bc858ac16873a5ccfaeac752b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Christian Stewart 4 년 전
부모
커밋
a6f2516c58
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      package/runc/runc.mk

+ 1 - 1
package/runc/runc.mk

@@ -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