build: put missing KMOD_CFLAGS into Makefile

The build fails if kmod is not in a default location.
This commit is contained in:
Jan Engelhardt 2014-05-20 23:31:59 +02:00 committed by Lennart Poettering
parent 52ffb444cb
commit f884afb206
1 changed files with 8 additions and 0 deletions

View File

@ -4200,6 +4200,10 @@ systemd_resolved_SOURCES = \
src/resolve/resolved.c \
src/resolve/resolved-manager.c
systemd_resolved_CFLAGS = \
$(AM_CFLAGS) \
$(KMOD_CFLAGS)
nodist_systemd_resolved_SOURCES = \
src/resolve/resolved-gperf.c
@ -4301,6 +4305,10 @@ systemd_networkd_wait_online_LDADD = \
test_network_SOURCES = \
src/network/test-network.c
test_network_CFLAGS = \
$(AM_CFLAGS) \
$(KMOD_CFLAGS)
test_network_LDADD = \
libsystemd-networkd-core.la
$(KMOD_LIBS)