mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
hack(app-emulation): export CFLAGS and LDFLAGS
this is needed if you don't have your system $ROOT at /
This commit is contained in:
parent
c90aaadea5
commit
4666c31071
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user