gogio: add -tags to 'go list' command

Signed-off-by: Masala <masala@riseup.net>
This commit is contained in:
Masala
2023-09-26 13:17:10 +00:00
committed by Elias Naur
parent 7cb98d0557
commit abc34cf117
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ func compileAndroid(tmpDir string, tools *androidTools, bi *buildInfo) (err erro
return err
})
}
appDir, err := runCmd(exec.Command("go", "list", "-f", "{{.Dir}}", "gioui.org/app/"))
appDir, err := runCmd(exec.Command("go", "list", "-tags", bi.tags, "-f", "{{.Dir}}", "gioui.org/app/"))
if err != nil {
return err
}