diff --git a/daemons/clvmd/Makefile.in b/daemons/clvmd/Makefile.in index a0755b1e6..6054ded89 100644 --- a/daemons/clvmd/Makefile.in +++ b/daemons/clvmd/Makefile.in @@ -84,7 +84,7 @@ endif TARGETS = \ clvmd -LVMLIBS = -llvm -lpthread +LVMLIBS = -llvm-internal -lpthread ifeq ("@DMEVENTD@", "yes") LVMLIBS += -ldevmapper-event @@ -100,7 +100,7 @@ include $(top_srcdir)/make.tmpl INSTALL_TARGETS = \ install_clvmd -clvmd: $(OBJECTS) $(top_srcdir)/lib/liblvm.a +clvmd: $(OBJECTS) $(top_srcdir)/lib/liblvm-internal.a $(CC) -o clvmd $(OBJECTS) $(CFLAGS) $(LDFLAGS) \ $(LVMLIBS) $(LMLIBS) $(LIBS)