Add noaudio tag to build binary without OpenAL
This commit is contained in:
parent
f8227a3d71
commit
074c4de175
9 changed files with 29 additions and 13 deletions
|
@ -18,7 +18,9 @@ package raylib
|
|||
#include "external/glfw/src/posix_tls.c"
|
||||
#include "external/glfw/src/nsgl_context.m"
|
||||
|
||||
#cgo darwin LDFLAGS: -framework OpenGL -framework OpenAL -framework Cocoa -framework IOKit -framework CoreVideo
|
||||
#cgo darwin LDFLAGS: -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo
|
||||
#cgo darwin CFLAGS: -x objective-c -Iexternal/glfw/include -D_GLFW_COCOA -D_GLFW_USE_CHDIR -D_GLFW_USE_MENUBAR -D_GLFW_USE_RETINA -Wno-deprecated-declarations -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33
|
||||
|
||||
#cgo darwin,!noaudio LDFLAGS: -framework OpenAL
|
||||
*/
|
||||
import "C"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue