From: Zdenek Kabelac Date: Thu, 14 Jun 2018 18:37:33 +0000 (+0200) Subject: build: ensure libdm is built before dm-tools X-Git-Tag: v2_03_00~170 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=c6be40960917de0e3baab23ab44c64c682895049;p=lvm2.git 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. --- 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 $< $@