diff options
author | Anders Olofsson <Anders.Olofsson@axis.com> | 2012-11-16 01:17:18 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-11-16 01:17:18 +0100 |
commit | f553b3b1074151200187df916427a1468186435e (patch) | |
tree | dfbbab0e5db3b6008588a65bdae169274602de20 /Makefile.am | |
parent | d4205751d4643c272059a3728045929dd0e5e800 (diff) |
udev: make blkid optional
I'm building systemd for an embedded system and we would prefer not having
to include the entire util-linux package just to get a libblkid whose
functionality we don't need.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 3c590094d3..43db5a529e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1893,7 +1893,6 @@ libudev_core_la_SOURCES = \ src/udev/udev-rules.c \ src/udev/udev-ctrl.c \ src/udev/udev-builtin.c \ - src/udev/udev-builtin-blkid.c \ src/udev/udev-builtin-btrfs.c \ src/udev/udev-builtin-firmware.c \ src/udev/udev-builtin-hwdb.c \ @@ -1920,6 +1919,11 @@ libudev_core_la_CPPFLAGS = \ $(AM_CPPFLAGS) \ -DFIRMWARE_PATH="$(FIRMWARE_PATH)" +if HAVE_BLKID +libudev_core_la_SOURCES += \ + src/udev/udev-builtin-blkid.c +endif + if HAVE_ACL libudev_core_la_SOURCES += \ src/udev/udev-builtin-uaccess.c \ |