diff --git a/mini_al.go b/mini_al.go index b7cedbb..ec94423 100644 --- a/mini_al.go +++ b/mini_al.go @@ -5,11 +5,11 @@ package malgo #cgo CFLAGS: -std=gnu99 #cgo mal_debug CFLAGS: -DMAL_DEBUG_OUTPUT=1 -#cgo linux LDFLAGS: -ldl -lpthread -lm +#cgo linux,!android LDFLAGS: -ldl -lpthread -lm #cgo openbsd LDFLAGS: -ldl -lpthread -lm #cgo netbsd LDFLAGS: -ldl -lpthread -lm #cgo freebsd LDFLAGS: -ldl -lpthread -lm -#cgo android LDFLAGS: -lOpenSLES +#cgo android LDFLAGS: -lOpenSLES -lm #cgo !noasm,!arm,!arm64 CFLAGS: -msse2 #cgo !noasm,arm,arm64 CFLAGS: -mfpu=neon -mfloat-abi=hard