Fixed build error: missing "drm.h"

Benjamin Franzke benjaminfranzke at googlemail.com
Wed Apr 27 22:23:16 PDT 2011


2011/4/28 Liu, Xinyun <xinyunliu at gmail.com>:
> From e7813f327997a32c45a7d023b30eb6cdbfbd74c4 Mon Sep 17 00:00:00 2001
> From: Liu, Xinyun <xinyunliu at gmail.com>
> Date: Thu, 28 Apr 2011 10:49:19 +0800
> Subject: [PATCH] Fix build error: "missing drm.h"
>
> ---
>  compositor/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/compositor/Makefile.am b/compositor/Makefile.am
> index fc78d88..c4e8b62 100644
> --- a/compositor/Makefile.am
> +++ b/compositor/Makefile.am
> @@ -8,7 +8,7 @@ AM_CPPFLAGS =                                   \
>        $(WAYLAND_COMPOSITOR_CFLAGS)            \
>        $(OPENWFD_COMPOSITOR_CFLAGS)
>
> -AM_CFLAGS = $(GCC_CFLAGS)
> +AM_CFLAGS = $(GCC_CFLAGS) -I$(includedir)/libdrm

The includedir shouldnt be passed explicitly, we get that from pkgconfig.
AM_CPPFLAGS just misses $(DRM_COMPOSITOR_CFLAGS).

>
>  compositor_LDFLAGS = -export-dynamic
>  compositor_LDADD =                             \
> --
> 1.7.1
>
> --
> Best Regards,
> Liu, Xinyun
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>


More information about the wayland-devel mailing list