Update cgo_linux_sdl.go

This commit is contained in:
JupiterRider 2023-11-05 20:15:48 +01:00 committed by GitHub
parent 1e13bd47a6
commit d3b09cb124
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@
package rl package rl
/* /*
#cgo linux,!angle LDFLAGS: -lm
#cgo linux CFLAGS: -DPLATFORM_DESKTOP_SDL -Wno-stringop-overflow #cgo linux CFLAGS: -DPLATFORM_DESKTOP_SDL -Wno-stringop-overflow
#cgo linux pkg-config: sdl2 #cgo linux pkg-config: sdl2