--- src/egl/drivers/glx/Makefile +++ src/egl/drivers/glx/Makefile @@ -11,6 +11,6 @@ -I$(TOP)/src/egl/main EGL_CFLAGS = $(X11_CFLAGS) -EGL_LIBS = $(X11_LIBS) -lGL +EGL_LIBS = $(X11_LIBS) -l$(GL_LIB) include ../Makefile.template