Do not link GL when ANGLE is used

This commit is contained in:
Milan Nikolic 2023-06-21 11:19:43 +02:00
parent 048c1b598c
commit a6644da243
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
5 changed files with 18 additions and 8 deletions

View file

@ -36,8 +36,10 @@ package rl
#cgo openbsd CFLAGS: -I. -I/usr/X11R6/include -Iexternal/glfw/include -DPLATFORM_DESKTOP
#cgo openbsd LDFLAGS: -L/usr/X11R6/lib
#cgo openbsd,!wayland LDFLAGS: -lGL -lm -pthread -lX11
#cgo openbsd,wayland LDFLAGS: -lGL -lm -pthread -lwayland-client -lwayland-cursor -lwayland-egl -lxkbcommon
#cgo openbsd,!wayland LDFLAGS: -lm -pthread -lX11
#cgo openbsd,wayland LDFLAGS: -lm -pthread -lwayland-client -lwayland-cursor -lwayland-egl -lxkbcommon
#cgo openbsd,!angle LDFLAGS: -lGL
#cgo openbsd,!wayland CFLAGS: -D_GLFW_X11
#cgo openbsd,wayland CFLAGS: -D_GLFW_WAYLAND