From c2a132d56de794529c77f952b47c788970f4db7b Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 9 Feb 2026 16:18:49 +0100 Subject: [PATCH] fix(build): add osusergo tag to plugin build Applies the same osusergo build tag fix from a1d5b634b to the plugin build to prevent SIGFPE crashes under systemd. --- magefile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magefile.go b/magefile.go index 971752e85..e4510bda7 100644 --- a/magefile.go +++ b/magefile.go @@ -1772,6 +1772,6 @@ func (Plugins) Build(pathToSourceFiles string) error { } out := filepath.Join(RootPath, "plugins", filepath.Base(pathToSourceFiles)+".so") - runAndStreamOutput("go", "build", "-buildmode=plugin", "-o", out, pathToSourceFiles) + runAndStreamOutput("go", "build", "-buildmode=plugin", "-tags", Tags, "-o", out, pathToSourceFiles) return nil }