summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-05-30 16:31:45 +0100
committerKristian Høgsberg <krh@bitplanet.net>2012-05-31 14:00:41 -0400
commit32add9c6e6af10114e583ddcd7b6cf36a39afbdc (patch)
treee635c72392988aa80c0342c11802b60f1121cff0
parent1b6a61d3e94ae3c445974201bad1e5a370f3d82e (diff)
cursor: Fix warning with objdir != srcdir build
Make sure we find the right include paths. krh: Edited to use $(top_builddir) Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r--cursor/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/cursor/Makefile.am b/cursor/Makefile.am
index 503559a..168f5dc 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$(top_builddir)/src -I$(top_srcdir)/src