From 4666c31071199cd0be3101e95d8abd04eda907cc Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Tue, 3 Dec 2013 14:07:12 -0800 Subject: [PATCH] hack(app-emulation): export CFLAGS and LDFLAGS this is needed if you don't have your system $ROOT at / --- .../portage-stable/app-emulation/docker/docker-0.7.0.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/docker/docker-0.7.0.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/docker/docker-0.7.0.ebuild index ad9dbbb5b9..29532ca0fa 100644 --- a/sdk_container/src/third_party/portage-stable/app-emulation/docker/docker-0.7.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-emulation/docker/docker-0.7.0.ebuild @@ -101,6 +101,8 @@ src_compile() { export GOPATH="$GOPATH:$(pwd -P)/vendor" # time to build! + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="-L${ROOT}/usr/lib" ./hack/make.sh dynbinary || die if use doc; then