Skip to content

Commit

Permalink
Fix building on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
matt0xFF authored Jun 8, 2019
1 parent 9100cfc commit 83598b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mini_al.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83598b5

Please sign in to comment.