summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2016-07-07 20:39:35 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-08 21:03:52 +0200
commitfbc7cd99612e7083fac01c046a1b358aa9a3b39b (patch)
tree29ca24c22fcac6ec03f7ec638f33ecd4488aaf61
parentff3e522e748925f6be5732a6e5df6553468ca0a1 (diff)
downloadbuildroot-fbc7cd99612e7083fac01c046a1b358aa9a3b39b.tar.gz
buildroot-fbc7cd99612e7083fac01c046a1b358aa9a3b39b.zip
package/runc: use BR_PATH to find pkg-config
When BR2_PACKAGE_LIBSECCOMP is set, go will try to find libseccomp library using pkg-config. But pkg-config is not in the PATH when go is called during the runc build. Set the correct PATH in RUNC_MAKE_ENV. Fixes: http://autobuild.buildroot.net/results/fea/fea069fec671b32bffd3d133898d71d45abab552 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Christian Stewart <christian@paral.in> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/runc/runc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/runc/runc.mk b/package/runc/runc.mk
index c4e75dd0a2..1396e0c7a2 100644
--- a/package/runc/runc.mk
+++ b/package/runc/runc.mk
@@ -15,7 +15,8 @@ RUNC_GOPATH = "$(@D)/Godeps/_workspace"
RUNC_MAKE_ENV = $(HOST_GO_TARGET_ENV) \
CGO_ENABLED=1 \
GOBIN="$(@D)/bin" \
- GOPATH="$(RUNC_GOPATH)"
+ GOPATH="$(RUNC_GOPATH)" \
+ PATH=$(BR_PATH)
RUNC_GLDFLAGS = \
-X main.gitCommit=$(RUNC_VERSION) \
OpenPOWER on IntegriCloud