[PATCH libinput] tools: fix broken build if builddir != srcdir

Peter Hutterer peter.hutterer at who-t.net
Wed Apr 29 21:14:07 PDT 2015


Introduced in 6b6f8151a41147eb44d08f33de143b43eb004563, libinput-version.h is
in the builddir.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 tools/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/Makefile.am b/tools/Makefile.am
index ae3a27f..792f310 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -3,8 +3,8 @@ bin_PROGRAMS = libinput-list-devices
 noinst_LTLIBRARIES = libshared.la
 
 AM_CPPFLAGS = -I$(top_srcdir)/include \
-              -I$(top_srcdir)/src
-
+              -I$(top_srcdir)/src \
+              -I$(top_builddir)/src  # for libinput-version.h
 
 libshared_la_SOURCES = \
 		       shared.c \
-- 
2.3.5



More information about the wayland-devel mailing list