hack(app-emulation): export CFLAGS and LDFLAGS

this is needed if you don't have your system $ROOT at /
This commit is contained in:
Brandon Philips 2013-12-03 14:07:12 -08:00
parent c90aaadea5
commit 4666c31071

View File

@ -101,6 +101,8 @@ src_compile() {
export GOPATH="$GOPATH:$(pwd -P)/vendor" export GOPATH="$GOPATH:$(pwd -P)/vendor"
# time to build! # time to build!
export CGO_CFLAGS="-I${ROOT}/usr/include"
export CGO_LDFLAGS="-L${ROOT}/usr/lib"
./hack/make.sh dynbinary || die ./hack/make.sh dynbinary || die
if use doc; then if use doc; then