The correct way to link against OpenGL on modern GNU/Linux systems (ie: X11 is a legacy windows server, there could be no windows server at all, etc) is not linking against GLX (-lGL) but using vendor-neutral GLVND (-lOpenGL).
This is what this new Makefile does. So building with:
The correct way to link against OpenGL on modern GNU/Linux systems (ie: X11 is a legacy windows server, there could be no windows server at all, etc) is not linking against GLX (-lGL) but using vendor-neutral GLVND (-lOpenGL). This is what this new Makefile does. So building with:
make SYSTEM=linux-egl-glvnd
...is the way.