[lvm-devel] master - build: ensure libdm is built before dm-tools

Zdenek Kabelac zkabelac at sourceware.org
Thu Jun 14 20:02:39 UTC 2018


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c6be40960917de0e3baab23ab44c64c682895049
Commit:        c6be40960917de0e3baab23ab44c64c682895049
Parent:        327f62a25533c195f4b49a29974f3c5a2f93c15b
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Thu Jun 14 20:37:33 2018 +0200
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Thu Jun 14 22:02:01 2018 +0200

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 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libdm/Makefile.in b/libdm/Makefile.in
index 6472da7..8c8334a 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 $< $@
 




More information about the lvm-devel mailing list