From 604e9e24138fa2e4adf61dff6b4b61616fe86435 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 7 Apr 2022 23:20:27 +0200 Subject: [PATCH] Fix libheif compilation --- scripts/_common.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index 978d50c..9b271f0 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -29,6 +29,9 @@ function setup_sources { } function build_libheif { + export GOPATH="$final_path/build/go" + export GOCACHE="$final_path/build/.cache" + pushd "$final_path/libheif" || ynh_die chown -R $app:$app "$final_path/libheif" mkdir -p "$final_path/local"