Fix for builds of tinygo using an Android host

This commit is contained in:
Yeicor
2022-08-08 19:09:53 +02:00
committed by Ron Evans
parent df52b500bf
commit f34a0d44ca
+1 -1
View File
@@ -24,7 +24,7 @@ func ReadBuildID() ([]byte, error) {
defer f.Close()
switch runtime.GOOS {
case "linux", "freebsd":
case "linux", "freebsd", "android":
// Read the GNU build id section. (Not sure about FreeBSD though...)
file, err := elf.NewFile(f)
if err != nil {