summaryrefslogtreecommitdiff
path: root/lib/Makefile.in
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2014-03-06 16:03:08 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2014-03-06 17:30:06 +0100
commit7a595d7388d2dfdb4253ef9425c812491c8e7af5 (patch)
treed357d447a5705f0d875e9c7dc6be645dcea0b1b6 /lib/Makefile.in
parent216c57eed72fee52e99bb5d014c9de535e631f58 (diff)
downloadlvm2-7a595d7388d2dfdb4253ef9425c812491c8e7af5.tar.gz
makefiles: use BLKID/UDEV_CFLAGS properly
blkid.h needs BLKID_CFLAGS Do not add UDEV_CFLAGS everywhere and use it only when needed.
Diffstat (limited to 'lib/Makefile.in')
-rw-r--r--lib/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 968ad006b..c3d459887 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -217,6 +217,8 @@ CFLOW_LIST_TARGET = $(LIB_NAME).cflow
include $(top_builddir)/make.tmpl
+CFLAGS += $(BLKID_CFLAGS) $(UDEV_CFLAGS)
+
$(SUBDIRS): $(LIB_STATIC)
DISTCLEAN_TARGETS += misc/configure.h misc/lvm-version.h