1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lxd_ynh.git synced 2024-09-03 19:45:53 +02:00

Merge pull request #19 from YunoHost-Apps/fix-yunohost-admin-install

fix yunohost-admin install
This commit is contained in:
Kayou 2021-11-25 14:34:57 +01:00 committed by GitHub
commit 9398adc1b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -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/"

View file

@ -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/"