[PATCH] config-parser-test: fix compile error

Kristian Høgsberg hoegsberg at gmail.com
Sun May 26 17:07:10 PDT 2013


On Sat, May 25, 2013 at 01:26:48AM +0900, Mun, Gwan-gyeong wrote:
> This patch fixes compile error on config-parser-test.
> 
> config-parser-test uses wayland-util.h header file.
> But , config-parser-test's Makefile does not include COMPOSITOR_CFLAGS.
> 
> This patch fixes it.

Thanks, I think that's probably the best way to fix it.  libshared is
used in both clients and weston, so we can't link it to
$(COMPOSITOR_LIBS), but since all users link to either
libwayland-client or libwayland-server, we're ok.

Kristian

> ---
> From 993ddf5481242b74db2174eb2c7d05abe0be126c Mon Sep 17 00:00:00 2001
> From: Mun Gwan-gyeong <elongbug at gmail.com>
> Date: Sat, 25 May 2013 01:13:09 +0900
> Subject: [PATCH] config-parser-test: fix compile error
> 
> Add COMPOSITOR_CFLAGS to Makefile.am
> ---
> shared/Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/shared/Makefile.am b/shared/Makefile.am
> index cf08ec5..323f838 100644
> --- a/shared/Makefile.am
> +++ b/shared/Makefile.am
> @@ -1,6 +1,6 @@
> noinst_LTLIBRARIES = libshared.la libshared-cairo.la
> 
> -libshared_la_CFLAGS = $(GCC_CFLAGS)
> +libshared_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
> 
> libshared_la_SOURCES = \
> config-parser.c \
> -- 
> 1.7.9.5
> 

> From 993ddf5481242b74db2174eb2c7d05abe0be126c Mon Sep 17 00:00:00 2001
> From: Mun Gwan-gyeong <elongbug at gmail.com>
> Date: Sat, 25 May 2013 01:13:09 +0900
> Subject: [PATCH] config-parser-test: fix compile error
> 
> Add COMPOSITOR_CFLAGS to Makefile.am
> ---
>  shared/Makefile.am |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/shared/Makefile.am b/shared/Makefile.am
> index cf08ec5..323f838 100644
> --- a/shared/Makefile.am
> +++ b/shared/Makefile.am
> @@ -1,6 +1,6 @@
>  noinst_LTLIBRARIES = libshared.la libshared-cairo.la
>  
> -libshared_la_CFLAGS = $(GCC_CFLAGS)
> +libshared_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
>  
>  libshared_la_SOURCES =				\
>  	config-parser.c				\
> -- 
> 1.7.9.5
> 

> _______________________________________________
> 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