diff --git a/tools/Makefile.in b/tools/Makefile.in index 74f15d886..774d75e4f 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -117,7 +117,7 @@ lvm: $(OBJECTS) lvm.o $(top_srcdir)/lib/liblvm.a $(LDFLAGS) $(LVMLIBS) $(LIBS) -rdynamic LIB_PTHREAD = @LIB_PTHREAD@ -lvm.static: $(OBJECTS) lvm-static.o $(top_srcdir)/lib/liblvm.a +lvm.static: $(OBJECTS) lvm-static.o $(top_srcdir)/lib/liblvm.a $(interfacedir)/libdevmapper.a $(CC) -o $@ $(CFLAGS) $(OBJECTS) lvm-static.o -static \ -L$(interfacedir) $(LDFLAGS) $(LVMLIBS) $(LIBS) $(LIB_PTHREAD) -rdynamic