1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

build: ensure libdm is built before dm-tools

Making libs before entering dm-tools subdir,
so the tool will not link i.e. system library if present.
This commit is contained in:
Zdenek Kabelac 2018-06-14 20:37:33 +02:00
parent 327f62a255
commit c6be409609

View File

@ -62,6 +62,8 @@ LIBS += $(RT_LIBS) $(SELINUX_LIBS) $(UDEV_LIBS) $(PTHREAD_LIBS) $(M_LIBS)
device-mapper: all
dm-tools.device-mapper: $(TARGETS)
libdevmapper.$(LIB_SUFFIX) libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION): $(LIB_SHARED)
$(LN_S) -f $< $@