File 0001-build-honor-results-obtained-by-pkg-config-libinput.patch of Package weston

From 901f05ab852a6f66cfae7d6081065e88e878a6eb Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 8 Sep 2014 14:55:42 +0200
Subject: [PATCH] build: honor results obtained by pkg-config libinput

The error was:
src/libinput-seat.c:30:22: fatal error: libinput.h: No such file or directory
---
 Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index b2d6893..7f3e5d3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,7 +34,8 @@ AM_CPPFLAGS = 					\
 	-DDATADIR='"$(datadir)"'		\
 	-DMODULEDIR='"$(moduledir)"'		\
 	-DLIBEXECDIR='"$(libexecdir)"'		\
-	-DBINDIR='"$(bindir)"'
+	-DBINDIR='"$(bindir)"' \
+	$(LIBINPUT_BACKEND_CFLAGS)
 
 CLEANFILES = weston.ini $(BUILT_SOURCES)
 
-- 
2.0.0

openSUSE Build Service is sponsored by