diff --git a/daemons/cmirrord/Makefile.in b/daemons/cmirrord/Makefile.in index 0bcd73cca..ff45225cd 100644 --- a/daemons/cmirrord/Makefile.in +++ b/daemons/cmirrord/Makefile.in @@ -28,10 +28,10 @@ LMLIBS += $(CPG_LIBS) CFLAGS += $(CPG_CFLAGS) $(EXTRA_EXEC_CFLAGS) LDFLAGS += $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) -cmirrord: $(OBJECTS) $(top_builddir)/lib/liblvm-internal.a +cmirrord: $(OBJECTS) @echo " [CC] $@" $(Q) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) \ - $(LVMLIBS) $(LMLIBS) $(INTERNAL_LIBS) $(LIBS) + $(LMLIBS) -L$(top_builddir)/libdm -ldevmapper $(LIBS) install: $(TARGETS) @echo " [INSTALL] $<" diff --git a/daemons/cmirrord/cluster.h b/daemons/cmirrord/cluster.h index 01d4871c4..0efbd64bf 100644 --- a/daemons/cmirrord/cluster.h +++ b/daemons/cmirrord/cluster.h @@ -12,8 +12,8 @@ #ifndef _LVM_CLOG_CLUSTER_H #define _LVM_CLOG_CLUSTER_H -#include "device_mapper/misc/dm-log-userspace.h" -#include "device_mapper/all.h" +#include "libdm/misc/dm-log-userspace.h" +#include "libdm/libdevmapper.h" #define DM_ULOG_RESPONSE 0x1000U /* in last byte of 32-bit value */ #define DM_ULOG_CHECKPOINT_READY 21