diff --git a/tools/fsadm/Makefile.in b/tools/fsadm/Makefile.in index c72ae08cb..005e9e6d5 100644 --- a/tools/fsadm/Makefile.in +++ b/tools/fsadm/Makefile.in @@ -20,10 +20,12 @@ SOURCES = fsadm.c TARGETS = fsadm +LVMLIBS = -llvm + include $(top_srcdir)/make.tmpl fsadm: $(OBJECTS) - $(CC) -o $@ $(CFLAGS) $(OBJECTS) -rdynamic + $(CC) -o $@ $(CFLAGS) $(OBJECTS) $(LDFLAGS) $(LVMLIBS) -rdynamic install: fsadm $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) fsadm \