summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-10-29 20:00:41 +0100
committerGitHub <noreply@github.com>2019-10-29 20:00:41 +0100
commit6c6e78374f5be949d11a8608080c96e2d22ca872 (patch)
tree85c2949e2bc7a4b4d69e00df245ca4d0471c2e13
parent59582c55b798f0a2d086981ca9a8ddd8314fd0c2 (diff)
parenta9976049f03a8402a770465e7b636ce22dcb1c99 (diff)
downloadpodman-6c6e78374f5be949d11a8608080c96e2d22ca872.tar.gz
podman-6c6e78374f5be949d11a8608080c96e2d22ca872.tar.bz2
podman-6c6e78374f5be949d11a8608080c96e2d22ca872.zip
Merge pull request #4366 from AkihiroSuda/fix-embed-version
Makefile: fix embedding gitCommit
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 77502f911..731ad29c5 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.