From d23f2560d5310e3f89cedcc2db8690d61491d244 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 29 Jan 2023 00:34:27 +0100 Subject: [PATCH] Make the cgo lottie a build tag (-tag cgolottie) (#1955) This should fix #1906 as we don't have any cgo dependencies anymore by default. --- bridge/helper/libtgsconverter.go | 3 +-- bridge/helper/lottie_convert.go | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bridge/helper/libtgsconverter.go b/bridge/helper/libtgsconverter.go index 7b2dffbf..3069b342 100644 --- a/bridge/helper/libtgsconverter.go +++ b/bridge/helper/libtgsconverter.go @@ -1,5 +1,4 @@ -//go:build cgo -// +build cgo +//go:build cgolottie package helper diff --git a/bridge/helper/lottie_convert.go b/bridge/helper/lottie_convert.go index c6ae0a7a..ffbe95d7 100644 --- a/bridge/helper/lottie_convert.go +++ b/bridge/helper/lottie_convert.go @@ -1,4 +1,4 @@ -// +build !cgo +//go:build !cgolottie package helper @@ -6,6 +6,7 @@ import ( "io/ioutil" "os" "os/exec" + "github.com/sirupsen/logrus" )