mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
makefiles: link blkid library only to lvm
Don't add blkid to every linkage. Link udev library just with lvm tools. Drop extra linkage of udev library, since deps from libdevmapper are already resolved in linked -ldevmapper.
This commit is contained in:
parent
7a595d7388
commit
d5a00c4597
@ -118,11 +118,9 @@ CFLOW_TARGET = lvm
|
||||
|
||||
include $(top_builddir)/make.tmpl
|
||||
|
||||
LIBS += $(UDEV_LIBS) $(BLKID_LIBS)
|
||||
|
||||
device-mapper: $(TARGETS_DM)
|
||||
|
||||
CFLAGS_dmsetup.o += $(EXTRA_EXEC_CFLAGS)
|
||||
CFLAGS_dmsetup.o += $(UDEV_CFLAGS) $(EXTRA_EXEC_CFLAGS)
|
||||
|
||||
dmsetup: dmsetup.o $(top_builddir)/libdm/libdevmapper.$(LIB_SUFFIX)
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) -L$(top_builddir)/libdm \
|
||||
|
Loading…
Reference in New Issue
Block a user