summaryrefslogtreecommitdiffstats
path: root/bridge/helper
diff options
context:
space:
mode:
authorWim <wim@42.be>2023-01-29 00:34:27 +0100
committerGitHub <noreply@github.com>2023-01-29 00:34:27 +0100
commitd23f2560d5310e3f89cedcc2db8690d61491d244 (patch)
treef94d743b26ca7eb4ad3ba90f7e3b1ba20fe31beb /bridge/helper
parent880586bac42817ffcfea5d9f746f503fa29915b8 (diff)
downloadmatterbridge-msglm-d23f2560d5310e3f89cedcc2db8690d61491d244.tar.gz
matterbridge-msglm-d23f2560d5310e3f89cedcc2db8690d61491d244.tar.bz2
matterbridge-msglm-d23f2560d5310e3f89cedcc2db8690d61491d244.zip
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.
Diffstat (limited to 'bridge/helper')
-rw-r--r--bridge/helper/libtgsconverter.go3
-rw-r--r--bridge/helper/lottie_convert.go3
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"
)