Fix for builds of tinygo using an Android host

Этот коммит содержится в:
Yeicor 2022-08-08 19:09:53 +02:00 коммит произвёл Ron Evans
родитель df52b500bf
коммит f34a0d44ca

Просмотреть файл

@ -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 {