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

Hardening rdp.effort at gmail.com
Sat May 25 01:24:10 PDT 2013


Le 24/05/2013 18:26, Mun, Gwan-gyeong a écrit :
> 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.
>
> ---
>  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 \

Great one, the same apply for libshared_cairo:
diff --git a/shared/Makefile.am b/shared/Makefile.am
index cf08ec5..5c7111b 100644
--- a/shared/Makefile.am
+++ b/shared/Makefile.am
@@ -14,7 +14,8 @@ libshared_cairo_la_CFLAGS =                   \
         $(PIXMAN_CFLAGS)                        \
         $(CAIRO_CFLAGS)                         \
         $(PNG_CFLAGS)                           \
-       $(WEBP_CFLAGS)
+       $(WEBP_CFLAGS)                          \
+       $(COMPOSITOR_CFLAGS)

  libshared_cairo_la_LIBADD =                    \
         $(PIXMAN_LIBS)                          \




More information about the wayland-devel mailing list