summaryrefslogtreecommitdiff
path: root/src/udev/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/Makefile.am')
-rw-r--r--src/udev/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/udev/Makefile.am b/src/udev/Makefile.am
index 866d2c2537..038803454f 100644
--- a/src/udev/Makefile.am
+++ b/src/udev/Makefile.am
@@ -46,7 +46,6 @@ libudev_core_la_SOURCES = \
udev-rules.c \
udev-ctrl.c \
udev-builtin.c \
- udev-builtin-blkid.c \
udev-builtin-btrfs.c \
udev-builtin-firmware.c \
udev-builtin-hwdb.c \
@@ -75,6 +74,11 @@ libudev_core_la_LIBADD = \
$(BLKID_LIBS) \
$(SELINUX_LIBS)
+if HAVE_BLKID
+libudev_core_la_SOURCES += \
+ udev-builtin-blkid.c
+endif
+
if HAVE_MODULES
libudev_core_la_SOURCES += \
udev-builtin-kmod.c