[PATCH wayland 1/6] cursor: Fix warning with objdir != srcdir build

Daniel Stone daniel at fooishbar.org
Wed May 30 08:31:45 PDT 2012


Make sure we find the right include paths.

Signed-off-by: Daniel Stone <daniel at fooishbar.org>
---
 cursor/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cursor/Makefile.am b/cursor/Makefile.am
index 503559a..e08b762 100644
--- a/cursor/Makefile.am
+++ b/cursor/Makefile.am
@@ -11,4 +11,4 @@ libwayland_cursor_la_LIBADD = $(top_builddir)/src/libwayland-client.la
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = wayland-cursor.pc
 
-AM_CFLAGS = $(GCC_CFLAGS) -I../src
+AM_CFLAGS = $(GCC_CFLAGS) -I../src -I$(top_srcdir)/src
-- 
1.7.10



More information about the wayland-devel mailing list