From a9976049f03a8402a770465e7b636ce22dcb1c99 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Tue, 29 Oct 2019 23:56:34 +0900 Subject: [PATCH] Makefile: fix embedding gitCommit Signed-off-by: Akihiro Suda --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 77502f9111..731ad29c5e 100644 --- a/Makefile +++ b/Makefile @@ -72,8 +72,8 @@ LIBPOD := ${PROJECT}/libpod GCFLAGS ?= all=-trimpath=${PWD} ASMFLAGS ?= all=-trimpath=${PWD} LDFLAGS_PODMAN ?= $(LDFLAGS) \ - -X $(LIBPOD).gitCommit=$(GIT_COMMIT) \ - -X $(LIBPOD).buildInfo=$(BUILD_INFO) \ + -X $(LIBPOD)/define.gitCommit=$(GIT_COMMIT) \ + -X $(LIBPOD)/define.buildInfo=$(BUILD_INFO) \ -X $(LIBPOD).installPrefix=$(PREFIX) \ -X $(LIBPOD).etcDir=$(ETCDIR) #Update to LIBSECCOMP_COMMIT should reflect in Dockerfile too.