[Mesa-dev] small patch to wayland-drm Makefile

Kristian Høgsberg krh at bitplanet.net
Sat Mar 26 08:01:48 PDT 2011


On Fri, Mar 25, 2011 at 5:54 AM, Liu, Xinyun <xinyunliu at gmail.com> wrote:
> Meet the same build issue. And fixed it with the same way.

Thanks.  I had a fix from Benjamin sitting in my git repo that I
hadn't pushed yet.  I just pushed that now.

Kristian

> diff --git a/src/egl/wayland/wayland-drm/Makefile
> b/src/egl/wayland/wayland-drm/Makefile
> index c232769..1a25f5f 100644
> --- a/src/egl/wayland/wayland-drm/Makefile
> +++ b/src/egl/wayland/wayland-drm/Makefile
> @@ -3,6 +3,8 @@
>  TOP = ../../../..
>  include $(TOP)/configs/current
>
> +INCLUDE_DIRS = -I$(TOP)/include
> +
>  GEN_SOURCES = wayland-drm-protocol.c
>
>  GEN_HEADERS = wayland-drm-client-protocol.h wayland-drm-server-protocol.h
> @@ -38,7 +40,7 @@ install:
>       @echo -n ""
>
>  $(wayland_drm_OBJECTS): %.o: %.c $(GEN_HEADERS)
> -       $(CC) -c $(wayland_drm_INCLUDES) $(CFLAGS) $< -o $@
> +       $(CC) -c $(INCLUDE_DIRS) $(wayland_drm_INCLUDES) $(CFLAGS) $< -o $@
>
>
> Regards,
> Xinyun
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list