mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
go: fix build using ubuntu golang-go
This commit is contained in:
parent
adf3f57e6c
commit
469f699214
@ -44,7 +44,11 @@ PKG_AUTORECONF="no"
|
||||
configure_host() {
|
||||
export GOOS=linux
|
||||
export GOROOT_FINAL=$TOOLCHAIN/lib/golang
|
||||
export GOROOT_BOOTSTRAP=/usr/lib/golang
|
||||
if [ -x /usr/lib/go/bin/go ]; then
|
||||
export GOROOT_BOOTSTRAP=/usr/lib/go
|
||||
else
|
||||
export GOROOT_BOOTSTRAP=/usr/lib/golang
|
||||
fi
|
||||
export GOARCH=amd64
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user