mirror of
https://github.com/YunoHost-Apps/lxd_ynh.git
synced 2024-09-03 19:45:53 +02:00
fix yunohost-admin install
This commit is contained in:
parent
37bc658f12
commit
b5be61b63f
2 changed files with 4 additions and 0 deletions
|
@ -65,6 +65,8 @@ ynh_script_progression --message="Building lxd from sources..." --weight=60
|
|||
|
||||
pushd ${lxd_tmp}
|
||||
|
||||
export HOME=${HOME:-"/root/"}
|
||||
|
||||
ynh_exec_warn_less make deps
|
||||
export CGO_CFLAGS="-I${GOPATH}/raft/include/ -I${GOPATH}/dqlite/include/"
|
||||
export CGO_LDFLAGS="-L${GOPATH}/raft/.libs -L${GOPATH}/dqlite/.libs/"
|
||||
|
|
|
@ -81,6 +81,8 @@ ynh_script_progression --message="Building lxd from sources..." --weight=60
|
|||
|
||||
pushd ${lxd_tmp}
|
||||
|
||||
export HOME=${HOME:-"/root/"}
|
||||
|
||||
ynh_exec_warn_less make deps
|
||||
export CGO_CFLAGS="-I${GOPATH}/raft/include/ -I${GOPATH}/dqlite/include/"
|
||||
export CGO_LDFLAGS="-L${GOPATH}/raft/.libs -L${GOPATH}/dqlite/.libs/"
|
||||
|
|
Loading…
Reference in a new issue