weston/0001-build-honor-results-obtained-by-pkg-config-libinput.patch

26 lines
852 B
Diff

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(-)
Index: weston-1.12.0/Makefile.am
===================================================================
--- weston-1.12.0.orig/Makefile.am
+++ weston-1.12.0/Makefile.am
@@ -53,7 +53,8 @@ AM_CPPFLAGS = \
-DDATADIR='"$(datadir)"' \
-DLIBWESTON_MODULEDIR='"$(libweston_moduledir)"' \
-DLIBEXECDIR='"$(libexecdir)"' \
- -DBINDIR='"$(bindir)"'
+ -DBINDIR='"$(bindir)"' \
+ $(LIBINPUT_BACKEND_CFLAGS)
CLEANFILES = weston.ini \
ivi-shell/weston.ini \