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

Jammy Zhou jammy.zhou at linaro.org
Thu Jan 27 17:22:27 PST 2011


Just to make sure that this patch was sent out, so replied again here.

Hi Chia-I,

Could you please review this small patch?

Regards,
Jammy

On Thu, Jan 27, 2011 at 1:32 PM, Jammy Zhou <jammy.zhou at linaro.org> wrote:

> 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/20110128/82398186/attachment.html>


More information about the mesa-dev mailing list