Do not link GL when ANGLE is used
This commit is contained in:
parent
048c1b598c
commit
a6644da243
5 changed files with 18 additions and 8 deletions
|
@ -36,8 +36,10 @@ package rl
|
|||
#cgo freebsd CFLAGS: -I. -I/usr/local/include -Iexternal/glfw/include -DPLATFORM_DESKTOP
|
||||
#cgo freebsd LDFLAGS: -L/usr/local/lib
|
||||
|
||||
#cgo freebsd,!wayland LDFLAGS: -lGL -lm -pthread -ldl -lrt -lX11
|
||||
#cgo freebsd,wayland LDFLAGS: -lGL -lm -pthread -ldl -lrt -lwayland-client -lwayland-cursor -lwayland-egl -lxkbcommon
|
||||
#cgo freebsd,!wayland LDFLAGS: -lm -pthread -ldl -lrt -lX11
|
||||
#cgo freebsd,wayland LDFLAGS: -lm -pthread -ldl -lrt -lwayland-client -lwayland-cursor -lwayland-egl -lxkbcommon
|
||||
|
||||
#cgo freebsd,!angle LDFLAGS: -lGL
|
||||
|
||||
#cgo freebsd,!wayland CFLAGS: -D_GLFW_X11
|
||||
#cgo freebsd,wayland CFLAGS: -D_GLFW_WAYLAND
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue