Don't link to Xrandr Xinerama Xi Xxf86vm Xcursor, they are dlopen-ed now

This commit is contained in:
Milan Nikolic 2017-11-27 19:33:05 +01:00
parent 9a64523d95
commit 061469c442
3 changed files with 10 additions and 6 deletions

View file

@ -13,12 +13,14 @@ package raylib
#include "external/glfw/src/cocoa_init.m"
#include "external/glfw/src/cocoa_joystick.m"
#include "external/glfw/src/cocoa_monitor.m"
#include "external/glfw/src/cocoa_window.m"
#include "external/glfw/src/cocoa_time.c"
#include "external/glfw/src/posix_tls.c"
#include "external/glfw/src/cocoa_window.m"
#include "external/glfw/src/posix_thread.c"
#include "external/glfw/src/posix_time.c"
#include "external/glfw/src/nsgl_context.m"
#include "external/glfw/src/osmesa_context.c"
#cgo darwin LDFLAGS: -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo
#cgo darwin LDFLAGS: -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo -framework CoreFoundation
#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
#cgo darwin,!noaudio LDFLAGS: -framework OpenAL