summaryrefslogtreecommitdiff
path: root/src/egl/drivers/glx/Makefile
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2011-01-07 13:42:15 +0800
committerChia-I Wu <olv@lunarg.com>2011-01-10 11:25:31 +0800
commit15f0223931e32ef5ff82b39a2b6c433400edbd9d (patch)
tree4c44ef6c780318400ed30fa67ff0c93339354cca /src/egl/drivers/glx/Makefile
parentfef5d14494ff19ea302e247ba593e189a8ab62bd (diff)
egl_glx: Load libGL dynamically.
This is a step forward for compatibility with really old GLX. But the real reason for making this change now is so that we can make egl_glx a built-in driver without having to link to libGL.
Diffstat (limited to 'src/egl/drivers/glx/Makefile')
-rw-r--r--src/egl/drivers/glx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/glx/Makefile b/src/egl/drivers/glx/Makefile
index d976b91a74..89981e6c3a 100644
--- a/src/egl/drivers/glx/Makefile
+++ b/src/egl/drivers/glx/Makefile
@@ -11,6 +11,6 @@ EGL_INCLUDES = \
-I$(TOP)/src/egl/main
EGL_CFLAGS = $(X11_CFLAGS)
-EGL_LIBS = $(X11_LIBS) -lGL
+EGL_LIBS = $(X11_LIBS) $(DLOPEN_LIBS)
include ../Makefile.template