From b215120e39b4c87bcee11a0a500740a21e6ea0f4 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 25 Feb 2014 10:48:48 +0000 Subject: [PATCH] Fix the include directives when building in tools/ We need to add top_srcdir to fix the build when srcdir != builddir. Signed-off-by: Emmanuele Bassi Reviewed-by: David Herrmann Signed-off-by: Peter Hutterer --- tools/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile.am b/tools/Makefile.am index 0b8fbd0..5d3600d 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,7 +1,7 @@ noinst_PROGRAMS = libevdev-events bin_PROGRAMS = touchpad-edge-detector -AM_CPPFLAGS = $(GCC_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/libevdev +AM_CPPFLAGS = $(GCC_CFLAGS) -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_srcdir)/libevdev libevdev_ldadd = $(top_builddir)/libevdev/libevdev.la libevdev_events_SOURCES = libevdev-events.c