]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
docker-engine: needs pkg-config
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 14 Dec 2016 22:39:43 +0000 (23:39 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 19 Dec 2016 22:14:27 +0000 (23:14 +0100)
commit59bd179c35f10478d7acc732649844da76748e4d
tree0f24e1a539d17ce99c42045bcd38c0ae49e634f4
parenta9a6bfd6c12826d843fbb3ee1d9f7df608173ac0
docker-engine: needs pkg-config

Fixes:
http://autobuild.buildroot.org/results/fcc/fcc32f6cdc46f354a016a9b137d4f51d4054cdb6/
http://autobuild.buildroot.org/results/083/0832b7be86c525522e2caed66246d5aeb365afb2/
http://autobuild.buildroot.org/results/ede/ede0ddf0c5685ece8443a9b1bbd5c63b4d98af33/

pkg-config is used for some of the docker-engine dependencies (at least
libseccomp and libsystemd), so make sure it is available.

The make.sh script used to configure docker-engine uses the PKG_CONFIG
variable, but the libseccomp-golang go module simply uses whatever
pkg-config binary it finds in the path at build time, so also pass
TARGET_MAKE_ENV to ensure our cross-pkg-config is used.

For consistency and robustness against future changes, use both approaches
for the configure and build steps.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit c4a7d95e1925b1fc68dc1776444944ca906a7fc5)
package/docker-engine/docker-engine.mk