From c6be40960917de0e3baab23ab44c64c682895049 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 14 Jun 2018 20:37:33 +0200 Subject: [PATCH] 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. --- libdm/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libdm/Makefile.in b/libdm/Makefile.in index 6472da74c..8c8334a48 100644 --- a/libdm/Makefile.in +++ b/libdm/Makefile.in @@ -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 $< $@