summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 01db6d061a..0920e5a9b4 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -53,8 +53,9 @@ test_device_nodes_LDADD = \
$(top_builddir)/src/shared/libudev_shared.la \
$(top_builddir)/src/libudev/libudev-private.la
-if HAVE_LIBKMOD
-test_udev_LDADD += $(KMOD_LIBS)
+if HAVE_KMOD
+test_udev_LDADD += \
+ $(KMOD_LIBS)
endif
test_udev_CPPFLAGS = \