[Mesa-dev] [PATCH 1/1] Link libEGL.so against libglapi.so

Jammy Zhou jammy.zhou at linaro.org
Wed Jan 26 21:32:59 PST 2011


egl_dri2 has been made built-in driver of EGL recently, and it depends on
_glapi_get_proc_address symbol, which is defined in libglapi.so. So add
the dependency of libglapi.so to libEGL

Signed-off-by: Jammy Zhou <jammy.zhou at linaro.org>
---
 src/egl/main/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile
index c710631..fcbce2b 100644
--- a/src/egl/main/Makefile
+++ b/src/egl/main/Makefile
@@ -58,7 +58,7 @@ LOCAL_LIBS =
 ifeq ($(filter dri2, $(EGL_DRIVERS_DIRS)),dri2)
 LOCAL_CFLAGS += -D_EGL_BUILT_IN_DRIVER_DRI2
 LOCAL_LIBS += $(TOP)/src/egl/drivers/dri2/libegl_dri2.a
-EGL_LIB_DEPS += $(XCB_DRI2_LIBS) $(LIBUDEV_LIBS) $(DLOPEN_LIBS)
$(LIBDRM_LIB)
+EGL_LIB_DEPS += $(XCB_DRI2_LIBS) $(LIBUDEV_LIBS) $(DLOPEN_LIBS)
$(LIBDRM_LIB) -l$(GLAPI_LIB)
 endif
 ifeq ($(filter glx, $(EGL_DRIVERS_DIRS)),glx)
 LOCAL_CFLAGS += -D_EGL_BUILT_IN_DRIVER_GLX
-- 
1.7.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110127/db30a0ef/attachment-0001.html>


More information about the mesa-dev mailing list