[systemd-devel] [PATCH] Add libkmod flags for test_rtnl_manual
Łukasz Stelmach
l.stelmach at samsung.com
Mon Apr 14 06:14:14 PDT 2014
---
Makefile.am | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Without CFLAGS my gcc is unable to find linkmod.h. KMOD_LIBS just look
better than -lkomd for me.
diff --git a/Makefile.am b/Makefile.am
index 0ad1729..6767a76 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1402,10 +1402,14 @@ test_ipcrm_LDADD = \
test_rtnl_manual_SOURCES = \
src/test/test-rtnl-manual.c
+test_rtnl_manual_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(KMOD_CFLAGS)
+
test_rtnl_manual_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la \
- -lkmod
+ $(KMOD_LIBS)
test_ellipsize_SOURCES = \
src/test/test-ellipsize.c
--
1.9.1
More information about the systemd-devel
mailing list