From 03920601112c003cd65a2aa3f07ee75fef9aa5d5 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 31 Dec 2011 04:20:25 +0100 Subject: [PATCH] logind: add 'login' subdir to include dirs When separate 'builddirs', like with 'distcheck', are used, the generated sources, like the '.c' files from 'gperf', are placed in the 'builddir' and can not find the include headers in 'srcdir'. --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.am b/Makefile.am index a5df14c85..f1e0b05a8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1250,6 +1250,10 @@ nodist_systemd_logind_SOURCES = \ EXTRA_DIST += \ src/login/logind-gperf.gperf +systemd_logind_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -I $(top_srcdir)/src/login + systemd_logind_CFLAGS = \ $(AM_CFLAGS) \ $(DBUS_CFLAGS) \ -- 2.30.2