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'.
This commit is contained in:
parent
baa5ad26fd
commit
0392060111
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue