summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/Makefile
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-01-07 15:02:41 +0800
committerChia-I Wu <[email protected]>2011-01-10 11:23:24 +0800
commitfef5d14494ff19ea302e247ba593e189a8ab62bd (patch)
tree81987c84198b0d74cc37c1e1f17134555ec19d90 /src/egl/drivers/dri2/Makefile
parent231ca0ec8531c49ba7fee3f67245fe4f284b6ecf (diff)
egl_dri2: Look up _glapi_get_proc_address dynamically.
In preparation for making egl_dri2 built-in. It also handles symbol lookup error: /usr/local/lib/egl/egl_dri2.so: undefined symbol: _glapi_get_proc_address more gracefully.
Diffstat (limited to 'src/egl/drivers/dri2/Makefile')
-rw-r--r--src/egl/drivers/dri2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/Makefile b/src/egl/drivers/dri2/Makefile
index 8a3c9b6a0aa..ec4d1bcd9be 100644
--- a/src/egl/drivers/dri2/Makefile
+++ b/src/egl/drivers/dri2/Makefile
@@ -15,6 +15,6 @@ EGL_INCLUDES = \
$(LIBUDEV_CFLAGS) \
$(LIBDRM_CFLAGS)
-EGL_LIBS = $(XCB_DRI2_LIBS) $(LIBUDEV_LIBS) $(LIBDRM_LIBS)
+EGL_LIBS = $(XCB_DRI2_LIBS) $(LIBUDEV_LIBS) $(DLOPEN_LIBS) $(LIBDRM_LIB)
include ../Makefile.template